[APS-18063] fix: bump jackson-core/databind to 2.18.6 to fix async parser DoS (GHSA-72hv-8253-57qq)#79
Open
avinash-bharti wants to merge 2 commits intobrowserstack:masterfrom
Conversation
- Update jackson-core and jackson-databind to 2.18.6 to fix GHSA-72hv-8253-57qq (Number Length Constraint Bypass in Async Parser) - Existing Dependabot PR browserstack#76 bumps only to 2.18.2 which is still vulnerable - Fix version is 2.18.6 per the GitHub advisory Resolves: APS-18063
karanshah-browserstack
approved these changes
Apr 21, 2026
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.
Security Fix: APS-18063
Issue
jackson-core Number Length Constraint Bypass in Async Parser leads to potential Denial of Service (DoS) condition. The non-blocking (async) JSON parser bypasses the
maxNumberLengthconstraint (default: 1000 characters), allowing arbitrarily long numbers that cause excessive memory allocation and CPU exhaustion.Advisory: GHSA-72hv-8253-57qq
Root Cause
The async parsing path in
NonBlockingUtf8JsonParserBasedoes not call methods responsible for number length validation (resetInt()/resetFloat()inParserBase). The_valueComplete()method finalizes the token without enforcing themaxNumberLengthconstraint.Fix Applied
jackson.versionproperty inpom.xmlfrom2.15.2to2.18.6jackson-coreandjackson-databindto 2.18.6Note: Existing Dependabot PR #76 bumps to 2.18.2, which is still within the vulnerable range. This PR supersedes it with the correct fix version.
Testing
jackson.versionproperty changed from2.15.2to2.18.6inpom.xmlBrowserStack Session Sanity: N/A -- this is a Java client library, not a session repo
Jira Ticket
APS-18063
Checklist