Skip to content

CVE jackson-core DoS & logback arbitrary class instantiation Fix#89

Draft
lucasvaltl wants to merge 1 commit intoona-samples:mainfrom
lucasvaltl:cve-fix-describecve
Draft

CVE jackson-core DoS & logback arbitrary class instantiation Fix#89
lucasvaltl wants to merge 1 commit intoona-samples:mainfrom
lucasvaltl:cve-fix-describecve

Conversation

@lucasvaltl
Copy link
Copy Markdown

Summary

Resolves 3 CVEs found by Trivy filesystem scan by overriding Spring Boot managed dependency versions in pom.xml.

CVEs Addressed

CVE Severity Package Version Change
CVE-2026-29062 HIGH tools.jackson.core:jackson-core 3.0.3 → 3.1.0
GHSA-72hv-8253-57qq HIGH tools.jackson.core:jackson-core 3.0.3 → 3.1.0
CVE-2026-1225 LOW ch.qos.logback:logback-core 1.5.22 → 1.5.25

Changes

  • 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 on jackson-annotations:2.21+ (adds JsonSerializeAs class absent in 2.20.x)
  • logback.version: 1.5.22 → 1.5.25 — fixes arbitrary class instantiation via malicious logback.xml configuration

Verification

  • Trivy rescan: 0 vulnerabilities
  • Test suite: 59 tests passed, 0 failures

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>
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant