Skip to content

[Snyk] Security upgrade com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider from 2.10.1 to 2.21.2#193

Open
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-340b64ce0f1c3c9befc9f1d96f572e6e
Open

[Snyk] Security upgrade com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider from 2.10.1 to 2.21.2#193
snyk-io[bot] wants to merge 1 commit intomasterfrom
snyk-fix-340b64ce0f1c3c9befc9f1d96f572e6e

Conversation

@snyk-io
Copy link
Copy Markdown

@snyk-io snyk-io bot commented Apr 5, 2026

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the maven dependencies of this project.

Snyk changed the following file(s):

  • samples/server/petstore/jaxrs-cxf-cdi/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue Score Upgrade
high severity Allocation of Resources Without Limits or Throttling
SNYK-JAVA-COMFASTERXMLJACKSONCORE-15907551
  125   com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:
2.10.1 -> 2.21.2
No Path Found No Known Exploit

Breaking Change Risk

Merge Risk: Medium

Notice: This assessment is enhanced by AI.


Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

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

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 5, 2026

Merge Risk: Medium

This upgrade from version 2.10.1 to 2.21.2 spans multiple minor versions and introduces several important changes, including new runtime requirements and behavioral modifications that require verification.

Key Changes:

  • Java 8 Baseline Required: Starting with version 2.14, jackson-core requires a Java 8 runtime, and version 2.13 raised the baseline to Java 8 for most other modules like jackson-databind. Applications running on Java 7 will need to be upgraded.
  • Removal of JAX-RS 1.x Support: As of version 2.13, support and workarounds for JAX-RS 1.x implementations have been removed. This is a breaking change if your application relies on a JAX-RS 1.x environment.
  • Javax vs. Jakarta Namespace: Version 2.13 introduced separate artifacts for javax.* and jakarta.* namespaces. The upgraded artifact jackson-jaxrs-json-provider remains on the javax.* namespace. Ensure this is compatible with your application's dependencies.
  • Behavioral Changes to Verify:
    • Date Serialization (v2.11+): The default timezone offset for java.util.Date now includes a colon (e.g., +00:00 instead of +0000).
    • @JsonIgnore Precedence (v2.14+): In cases of conflicting annotations, @JsonIgnore now has higher precedence over @JsonProperty, which could change serialization output.
    • Processing Limits (v2.15+): New default limits on maximum string length, number length, and nesting depth have been introduced to prevent DoS attacks. These may need to be configured for applications processing very large JSON documents.

Recommendation:

Given the change in Java version requirements and multiple behavioral changes, this is a medium-risk upgrade. It is critical to verify that your application runs on Java 8 or newer and is not dependent on JAX-RS 1.x. Thoroughly test serialization and deserialization logic to ensure compatibility with the new behaviors, especially around date formats and edge cases involving @JsonIgnore.

Notice 🤖: This content was augmented using artificial intelligence. AI-generated content may contain errors and should be reviewed for accuracy before use.

@snyk-io
Copy link
Copy Markdown
Author

snyk-io bot commented Apr 5, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

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.

0 participants