Skip to content

Commit

Permalink
build(gradle): Update transitive commons-io versions
Browse files Browse the repository at this point in the history
Avoid CVE-2024-47554 by manually updating transitive commons-io versions
until a new SW360 client version is available.

Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
  • Loading branch information
sschuberth committed Oct 10, 2024
1 parent bca9748 commit 1d9c188
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion plugins/commands/upload-result-to-sw360/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@ dependencies {
implementation(projects.utils.spdxUtils)

implementation(libs.clikt)
implementation(libs.sw360Client)
implementation(libs.sw360Client) {
constraints {
implementation("commons-io:commons-io:2.17.0")
.because("commons-io 2.11.0 is vulnerable by CVE-2024-47554")
}
}
}
7 changes: 6 additions & 1 deletion plugins/package-curation-providers/sw360/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,10 @@ dependencies {

ksp(projects.plugins.packageCurationProviders.packageCurationProviderApi)

implementation(libs.sw360Client)
implementation(libs.sw360Client) {
constraints {
implementation("commons-io:commons-io:2.17.0")
.because("commons-io 2.11.0 is vulnerable by CVE-2024-47554")
}
}
}
7 changes: 6 additions & 1 deletion scanner/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ dependencies {
implementation(libs.kotlinx.coroutines)
implementation(libs.postgres)
implementation(libs.retrofit.converter.jackson)
implementation(libs.sw360Client)
implementation(libs.sw360Client) {
constraints {
implementation("commons-io:commons-io:2.17.0")
.because("commons-io 2.11.0 is vulnerable by CVE-2024-47554")
}
}

funTestApi(testFixtures(projects.scanner))

Expand Down

0 comments on commit 1d9c188

Please sign in to comment.