Skip to content

Commit

Permalink
CORE-19766 increase apache commons compress version due to Snyk vulne…
Browse files Browse the repository at this point in the history
…rability (#1528)

commons compress requires commons codec to resolve in OSGI
  • Loading branch information
LWogan authored Feb 22, 2024
1 parent 7aaf294 commit 23b48e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions data/avro-schema/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ dependencies {
because "CVE-2023-42503, current version of Avro uses an outdated version"
}
}
//needed by commons-compress
implementation libs.apache.commons.codec

implementation platform(project(':corda-api'))
implementation project(':base')
Expand Down
4 changes: 3 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ slf4jVersion = { strictly = "1.7.36" }

# Main implementation dependencies
avroVersion = "1.11.3"
commonsCompressVersion = "1.25.0"
apacheCommonsCodecVersion="1.16.1"
commonsCompressVersion = "1.26.0"
bouncycastleVersion = "1.77"
javaxPersistenceApiVersion = "2.2"
jacksonVersion = "2.16.1"
Expand Down Expand Up @@ -37,6 +38,7 @@ taskTreeVersion = "2.1.1"
[libraries]
slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4jVersion" }
avro = { group = "org.apache.avro", name = "avro", version.ref = "avroVersion" }
apache-commons-codec = { group = "commons-codec", name = "commons-codec", version.ref = "apacheCommonsCodecVersion" }
commons-compress = { group = "org.apache.commons", name = "commons-compress", version.ref = "commonsCompressVersion" }
bouncycastle-prov = { group = "org.bouncycastle", name = "bcprov-jdk18on", version.ref = "bouncycastleVersion" }
bouncycastle-pkix = { group = "org.bouncycastle", name = "bcpkix-jdk18on", version.ref = "bouncycastleVersion" }
Expand Down

0 comments on commit 23b48e6

Please sign in to comment.