Repository navigation
fix: bump vulnerable backend dependencies - #30
Closed
alexmcdermid wants to merge 1 commit into
Closed
alexmcdermid wants to merge 1 commit into
alexmcdermid wants to merge 1 commit into
Conversation
Spring Boot 3.5.16 (latest OSS 3.5.x) still manages vulnerable versions, so override them via BOM/dependency management declared ahead of the spring-boot-dependencies import: - tomcat-embed-* 10.1.55 -> 10.1.61 (3 critical auth bypasses) - netty 4.1.135.Final -> 4.1.139.Final (critical SNI bypass, HTTP/2, SPDY) - jackson 2.21.4 -> 2.21.7 (jackson-core/databind DoS and bypasses) - log4j-api 2.24.3 -> 2.25.5 (GHSA-qv9r-c865-cp47) - postgresql 42.7.7 -> 42.7.14 (SCRAM DoS, channel-binding downgrade) - spring-boot 3.5.15 -> 3.5.16 Remaining: spring-webmvc 6.2.19 GHSA-j9f9-w8pj-32f8 / GHSA-pc63-qcmh-9cmg are only fixed in Spring Framework 7.0.9 (Spring Boot 4); the API does not use SSE fragment rendering or XsltView.
Owner
Author
|
Superseded by #31. The Spring Boot 4.1.1 upgrade includes all of these dependency fixes: Tomcat 11.0.27, Jackson 3.1.7, pgjdbc 42.7.14 and log4j 2.25.5, with Netty removed. It also fixes the |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clears 31 of 33 known vulnerabilities (per OSV.dev against the fully resolved dependency tree), including every critical that has an available fix.
Spring Boot 3.5.16 (latest OSS 3.5.x) still manages vulnerable versions, so they're overridden via BOM / dependency management declared ahead of the
spring-boot-dependenciesimport (with a BOM import, Boot's*.versionproperties can't be overridden).@JsonViewbypassesRemaining:
spring-webmvc6.2.19 — GHSA-j9f9-w8pj-32f8 (SSE fragment rendering) and GHSA-pc63-qcmh-9cmg (XsltView) are only fixed in Spring Framework 7.0.9 (Spring Boot 4). The API doesn't use either feature, and with no fix on the 6.2 line Trivy'signore-unfixedshouldn't fail on them. A Boot 4 upgrade is being planned separately.Testing:
mvn package(125 tests) passes locally on JDK 21. Tests run on H2, so the pgjdbc and Netty bumps aren't exercised against real Postgres/DynamoDB. The base image OS packages weren't scanned locally; CI's Trivy step covers that.