Skip to content

Commit 366d5e2

Browse files
authored
Merge pull request #591 from rundeck/RUN-3602
RUN-3602: Fix CVE-2024-25710 finding in commons-compress
2 parents 4fa8a92 + 9d8aea3 commit 366d5e2

File tree

5 files changed

+1488
-1
lines changed

5 files changed

+1488
-1
lines changed

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,13 @@ subprojects{
4545
options.addBooleanOption('html5', true)
4646
}
4747
}
48+
49+
// Mitigate CVE-2024-25710: Force commons-compress to 1.28.0
50+
configurations.all {
51+
resolutionStrategy {
52+
force libs.commonsCompress
53+
}
54+
}
4855
}
4956

5057
/**

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
#
15+
#

gradle/libs.versions.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ snakeYaml = "2.0"
1919
#used for authz lib integration
2020
rundeck = "4.17.6-20240402"
2121
testcontainers = "1.21.3"
22+
commonsCompress = "1.28.0"
2223

2324
[libraries]
2425

@@ -50,6 +51,8 @@ rundeckAuthzYaml = { module = "org.rundeck:rundeck-authz-yaml", version.ref = "r
5051
testcontainers = { module = "org.testcontainers:testcontainers", version.ref = "testcontainers" }
5152
testcontainersSpock = { module = "org.testcontainers:spock", version.ref = "testcontainers" }
5253

54+
commonsCompress = { module = "org.apache.commons:commons-compress", version.ref = "commonsCompress" }
55+
5356
[bundles]
5457

5558
retrofit = ["retrofitCore", "retrofitJackson", "retrofitJaxb", "okhttpLogging", "okhttpUrlconnection", "jaxb"]

0 commit comments

Comments
 (0)