Skip to content

fix: upgrade jackson-bom to 2.13.5 to remediate CVE-2022-42003#150

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1781535438-fix-cve-2022-42003-jackson-databind
Open

fix: upgrade jackson-bom to 2.13.5 to remediate CVE-2022-42003#150
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1781535438-fix-cve-2022-42003-jackson-databind

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

Remediates CVE-2022-42003 (CVSS 7.5 — Denial of Service via deeply nested objects when UNWRAP_SINGLE_VALUE_ARRAYS is enabled) by overriding the Jackson BOM version managed by Spring Boot 2.6.3.

+ ext['jackson-bom.version'] = '2.13.5'

Spring Boot 2.6.3 pins jackson-bom at 2.13.1, which transitively resolves the vulnerable jackson-databind:2.13.1. This override upgrades all Jackson modules to 2.13.5 (>= the 2.13.4.2 fix threshold) while remaining within the 2.13.x compatibility range for Boot 2.6.x.

Verified: ./gradlew clean test spotlessCheck passes with no regressions.

Closes #149

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/5fc266b7e40d4862b7276fc4d1c7762b

Override jackson-bom.version managed by Spring Boot 2.6.3 (which pins
jackson-databind at the vulnerable 2.13.1) to 2.13.5, resolving the
Denial of Service vulnerability in jackson-databind < 2.13.4.2 when
UNWRAP_SINGLE_VALUE_ARRAYS is enabled.

Closes #149
@devin-ai-integration

Copy link
Copy Markdown
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

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.

[Security] CVE-2022-42003 in jackson-databind 2.13.1 (CVSS 7.5)

0 participants