Skip to content

Commit

Permalink
- remedy for CVE-2024-22233 (#1706)
Browse files Browse the repository at this point in the history
- ben-manes.versions 0.51.0
  • Loading branch information
lukasz-wolski authored Oct 25, 2024
1 parent 0df10d6 commit ac3116a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
id 'uk.gov.hmcts.java' version '0.12.63'
id 'jacoco'
id 'pmd'
id 'com.github.ben-manes.versions' version '0.36.0'
id 'com.github.ben-manes.versions' version '0.51.0'
id "info.solidsoft.pitest" version '1.15.0'
id 'io.spring.dependency-management' version '1.1.6'
id 'org.sonarqube' version '5.0.0.4638'
Expand Down Expand Up @@ -619,6 +619,14 @@ configurations.all {
details.useVersion "32.1.1-jre"
}
}

resolutionStrategy.eachDependency { details ->
// Remedy for CVE-2024-22233 - remove once spring-boot transitively uses version >= 6.1.14
if (details.requested.group == 'org.springframework'
&& (details.requested.version == '6.1.12' || details.requested.version == '6.1.13')) {
details.useVersion "6.1.14"
}
}
}

// this is required to force Java running on the Azure Windows Server OS into using
Expand Down

0 comments on commit ac3116a

Please sign in to comment.