Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ subprojects{
options.addBooleanOption('html5', true)
}
}

// Security fix: Force commons-lang3 to fixed version to address CVE-2025-48924
configurations.all {
resolutionStrategy {
force "org.apache.commons:commons-lang3:${libs.versions.commonsLang3.get()}"
}
}
}

/**
Expand Down
5 changes: 5 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ snakeYaml = "2.0"
#used for authz lib integration
rundeck = "4.17.6-20240402"
testcontainers = "1.21.3"
commonsCompress = "1.26.0"
commonsLang3 = "3.18.0"

[libraries]

Expand Down Expand Up @@ -50,6 +52,9 @@ rundeckAuthzYaml = { module = "org.rundeck:rundeck-authz-yaml", version.ref = "r
testcontainers = { module = "org.testcontainers:testcontainers", version.ref = "testcontainers" }
testcontainersSpock = { module = "org.testcontainers:spock", version.ref = "testcontainers" }

commonsCompress = { module = "org.apache.commons:commons-compress", version.ref = "commonsCompress" }
commonsLang3 = { module = "org.apache.commons:commons-lang3", version.ref = "commonsLang3" }

[bundles]

retrofit = ["retrofitCore", "retrofitJackson", "retrofitJaxb", "okhttpLogging", "okhttpUrlconnection", "jaxb"]
Expand Down
2 changes: 2 additions & 0 deletions integration-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ dependencies {
testImplementation libs.bundles.retrofit
testImplementation libs.bundles.test
testImplementation libs.bundles.testcontainers
// Security fix: Explicitly add fixed commons-compress version to override transitive dependency
testImplementation libs.commonsCompress
}
test {
//note: this is intentionally commented out
Expand Down
Loading