CVE jackson-core DoS & logback arbitrary class instantiation Fix#89
Draft
lucasvaltl wants to merge 1 commit intoona-samples:mainfrom
Draft
CVE jackson-core DoS & logback arbitrary class instantiation Fix#89lucasvaltl wants to merge 1 commit intoona-samples:mainfrom
lucasvaltl wants to merge 1 commit intoona-samples:mainfrom
Conversation
Override Spring Boot managed dependency versions to resolve 3 CVEs: - jackson-bom 3.0.3 -> 3.1.0 (fixes jackson-core DoS vulnerabilities) - jackson-2-bom 2.20.1 -> 2.21.2 (required by jackson 3.1.0 for jackson-annotations compatibility) - logback 1.5.22 -> 1.5.25 (fixes arbitrary class instantiation via malicious logback.xml) Co-authored-by: Ona <no-reply@ona.com>
|
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.



Summary
Resolves 3 CVEs found by Trivy filesystem scan by overriding Spring Boot managed dependency versions in
pom.xml.CVEs Addressed
tools.jackson.core:jackson-coretools.jackson.core:jackson-corech.qos.logback:logback-coreChanges
jackson-bom.version: 3.0.3 → 3.1.0 — fixes both jackson-core DoS vulnerabilities (excessive JSON nesting and async parser number length bypass)jackson-2-bom.version: 2.20.1 → 2.21.2 — required because jackson-databind 3.1.0 depends onjackson-annotations:2.21+(addsJsonSerializeAsclass absent in 2.20.x)logback.version: 1.5.22 → 1.5.25 — fixes arbitrary class instantiation via maliciouslogback.xmlconfigurationVerification