Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CVE-2024-47561 security vulnerability in the Avro library #25

Merged
merged 12 commits into from
Oct 9, 2024
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
Loading