Skip to content

Commit

Permalink
Merge pull request #25 from Nuvindu/security-fix
Browse files Browse the repository at this point in the history
Fix `CVE-2024-47561` security vulnerability in the Avro library
  • Loading branch information
Nuvindu authored Oct 9, 2024
2 parents 2b565f4 + 8bbb6cd commit a0fcf1d
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
26 changes: 13 additions & 13 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
org = "ballerina"
name = "avro"
version = "1.0.0"
version = "1.0.1"
authors = ["Ballerina"]
export=["avro"]
keywords = ["avro", "serialization", "deserialization", "serdes"]
Expand All @@ -18,29 +18,29 @@ graalvmCompatible = true
[[platform.java17.dependency]]
groupId = "io.ballerina.lib"
artifactId = "avro-native"
version = "1.0.0"
path = "../native/build/libs/avro-native-1.0.0.jar"
version = "1.0.1"
path = "../native/build/libs/avro-native-1.0.1-SNAPSHOT.jar"

[[platform.java17.dependency]]
groupId = "org.apache.avro"
artifactId = "avro"
version = "1.11.3"
path = "./lib/avro-1.11.3.jar"
version = "1.11.4"
path = "./lib/avro-1.11.4.jar"

[[platform.java17.dependency]]
groupId = "com.fasterxml.jackson.core"
artifactId = "jackson-core"
version = "2.17.0"
path = "./lib/jackson-core-2.17.0.jar"
version = "2.18.0"
path = "./lib/jackson-core-2.18.0.jar"

[[platform.java11.dependency]]
[[platform.java17.dependency]]
groupId = "com.fasterxml.jackson.core"
artifactId = "jackson-annotations"
version = "2.17.0"
path = "./lib/jackson-annotations-2.17.0.jar"
version = "2.18.0"
path = "./lib/jackson-annotations-2.18.0.jar"

[[platform.java11.dependency]]
[[platform.java17.dependency]]
groupId = "com.fasterxml.jackson.core"
artifactId = "jackson-databind"
version = "2.17.0"
path = "./lib/jackson-databind-2.17.0.jar"
version = "2.18.0"
path = "./lib/jackson-databind-2.18.0.jar"
4 changes: 2 additions & 2 deletions ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ distribution-version = "2201.9.0"
[[package]]
org = "ballerina"
name = "avro"
version = "1.0.0"
version = "1.0.1"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -23,7 +23,7 @@ modules = [
[[package]]
org = "ballerina"
name = "io"
version = "1.6.0"
version = "1.6.1"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand Down
4 changes: 2 additions & 2 deletions build-config/resources/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ artifactId = "jackson-core"
version = "@jackson.version@"
path = "./lib/[email protected]@.jar"

[[platform.java11.dependency]]
[[platform.java17.dependency]]
groupId = "com.fasterxml.jackson.core"
artifactId = "jackson-annotations"
version = "@jackson.version@"
path = "./lib/[email protected]@.jar"

[[platform.java11.dependency]]
[[platform.java17.dependency]]
groupId = "com.fasterxml.jackson.core"
artifactId = "jackson-databind"
version = "@jackson.version@"
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ ballerinaGradlePluginVersion=2.0.1

# Dependencies
stdlibIoVersion=1.6.0
avroVersion=1.11.3
jacksonVersion=2.17.0
avroVersion=1.11.4
jacksonVersion=2.18.0

0 comments on commit a0fcf1d

Please sign in to comment.