Skip to content

Commit

Permalink
Bump spring versions to mitigate CVE-2022-22965.
Browse files Browse the repository at this point in the history
The update to trace-analytics-sample-app mitigates the CVE.
Data-prepper-core is also updated, but this is not currently exploitable as this package does not meet the requirements
https://spring.io/blog/2022/03/31/spring-framework-rce-early-announcement#am-i-impacted.

Signed-off-by: Marc Handalian <handalm@amazon.com>
  • Loading branch information
mch2 committed Apr 1, 2022
1 parent 9f3e90d commit 099ff4a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions data-prepper-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ dependencies {
implementation 'org.apache.logging.log4j:log4j-core'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl'
implementation 'javax.inject:javax.inject:1'
implementation('org.springframework:spring-core:5.3.16') {
implementation('org.springframework:spring-core:5.3.18') {
exclude group: 'commons-logging', module: 'commons-logging'
}
implementation('org.springframework:spring-context:5.3.16') {
implementation('org.springframework:spring-context:5.3.18') {
exclude group: 'commons-logging', module: 'commons-logging'
}
testImplementation 'org.springframework:spring-test:5.3.16'
testImplementation 'org.springframework:spring-test:5.3.18'
testImplementation "org.hamcrest:hamcrest:2.2"
testImplementation "org.mockito:mockito-inline:${versionMap.mockito}"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

plugins {
id 'java'
id 'org.springframework.boot' version '2.3.1.RELEASE'
id 'org.springframework.boot' version '2.6.6.RELEASE'
id 'io.spring.dependency-management' version '1.0.9.RELEASE'
}

Expand Down

0 comments on commit 099ff4a

Please sign in to comment.