You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This upgrade from version 2.13.4 to 2.18.8 is a minor version update but spans several releases, introducing changes that require verification.
Key Changes & Potential Impacts:
Processing Limits for Security: The most significant change is the introduction of StreamReadConstraints in version 2.15 to mitigate Denial of Service (DoS) attacks. This adds default limits on:
Maximum string value length (initially 5MB, raised to 20MB in 2.15.1).
Maximum nesting depth (default 1000).
Other token and document size limits were added in subsequent releases.
Applications processing very large or deeply nested JSON documents may now encounter exceptions if they exceed these new default limits.
Stricter Parsing: Version 2.17 introduced stricter parsing for numbers represented as strings. For example, strings with leading zeros like "07" are no longer automatically converted to numbers for Enum indexes, which may affect deserialization logic that relied on this coercion.
Internal Refactoring: Version 2.18 includes a major rewrite of the internal property introspection logic. While this fixed numerous bugs, such a significant change could introduce subtle behavioral differences in edge cases.
Java Version: The minimum requirement for jackson-core was raised to Java 8 in version 2.14.
Recommendation:
This upgrade is assessed as medium risk. While there are no major API-breaking changes, the new processing limits are a behavioral change that could impact applications handling large payloads. It is crucial to verify that your application's JSON processing is not affected by these new default constraints. If necessary, these limits can be configured to accommodate larger inputs.
Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.
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
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.
Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):
parent/pom.xmlVulnerabilities that will be fixed with an upgrade:
SNYK-JAVA-COMFASTERXMLJACKSONCORE-18517159
2.13.4->2.18.8com.fasterxml.jackson.core:jackson-databind:
2.13.4->2.18.8No Path FoundProof of ConceptBreaking Change Risk
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Allocation of Resources Without Limits or Throttling