Skip to content

Commit 32b9aea

Browse files
committed
build(subversion): Substitute the vulnerable lz4-java dependency
Substitute with a maintained community fork that patches the vulnerability, see [1]. [1]: https://nvd.nist.gov/vuln/detail/CVE-2025-12183 Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent e41416b commit 32b9aea

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

buildSrc/src/main/kotlin/ort-base-conventions.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ repositories {
7272
}
7373
}
7474

75+
configurations.all {
76+
resolutionStrategy.dependencySubstitution {
77+
substitute(module("org.lz4:lz4-java:1.4.1"))
78+
.using(module("at.yawk.lz4:lz4-java:1.10.2"))
79+
.because("lz4-java is unmaintained and vulnerable to CVE‐2025‐12183")
80+
}
81+
}
82+
7583
tasks.withType<Jar>().configureEach {
7684
manifest {
7785
attributes["Implementation-Version"] = version

0 commit comments

Comments
 (0)