Skip to content

Commit

Permalink
chore(deps): use version 9.0.62 of tomcat to resolve CVE-2021-43980, C…
Browse files Browse the repository at this point in the history
…VE-2022-23181, CVE-2022-42252 (#997)

Here's a snippet of ./gradlew kork-tomcat:dependencies before this change:

+--- org.springframework.boot:spring-boot-starter-tomcat:2.4.13
|    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
|    +--- org.apache.tomcat.embed:tomcat-embed-core:9.0.55
|    +--- org.glassfish:jakarta.el:3.0.4
|    \--- org.apache.tomcat.embed:tomcat-embed-websocket:9.0.55
|         \--- org.apache.tomcat.embed:tomcat-embed-core:9.0.55
+--- org.springframework:spring-web:5.3.13 (*)

with this change:

+--- org.springframework.boot:spring-boot-starter-tomcat:2.4.13
|    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
|    +--- org.apache.tomcat.embed:tomcat-embed-core:9.0.55 -> 9.0.62
|    +--- org.glassfish:jakarta.el:3.0.4
|    \--- org.apache.tomcat.embed:tomcat-embed-websocket:9.0.55 -> 9.0.62
|         \--- org.apache.tomcat.embed:tomcat-embed-core:9.0.62
  • Loading branch information
dbyron-sf authored Dec 2, 2022
1 parent c2aabe6 commit 6370f22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spinnaker-dependencies/spinnaker-dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ ext {
springCloud : "2020.0.5",
springfoxSwagger : "2.9.2",
swagger : "1.5.20", //this should stay in sync with what springfoxSwagger expects
// spring boot 2.4.13 brings in 9.0.55, but leave this here to simplify fixing future CVEs.
tomcat : "9.0.55"
// spring boot 2.4.13 brings in 9.0.55. Use 9.0.62 to resolve
// CVE-2021-43980, CVE-2022-23181, CVE-2022-42252. Spring boot 2.5.14
// brings in 9.0.63.
tomcat : "9.0.62"
]
}

Expand Down

0 comments on commit 6370f22

Please sign in to comment.