Skip to content

SWI-3723 [Snyk] Security upgrade org.json4s:json4s-jackson_2.12 from 3.6.7 to 4.0.0#892

Open
bwappsec wants to merge 1 commit intomasterfrom
snyk-fix-452c27b98e28d00311a7d0e6c8610975
Open

SWI-3723 [Snyk] Security upgrade org.json4s:json4s-jackson_2.12 from 3.6.7 to 4.0.0#892
bwappsec wants to merge 1 commit intomasterfrom
snyk-fix-452c27b98e28d00311a7d0e6c8610975

Conversation

@bwappsec
Copy link

@bwappsec bwappsec commented Mar 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/client/petstore/scala-akka/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-15365924
  170   org.json4s:json4s-jackson_2.12:
3.6.7 -> 4.0.0
Major version upgrade No Path Found Proof of Concept

Breaking Change Risk

Merge Risk: High

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

@bwappsec
Copy link
Author

bwappsec commented Mar 5, 2026

Merge Risk: High

This is a major version upgrade from 3.x to 4.0.0. While a specific changelog for version 4.0.0 is not readily available, related project release notes confirm that this update introduces breaking binary backwards compatibility.

Potential Breaking Changes:
Based on discussions leading up to a major release, fundamental changes to the JSON Abstract Syntax Tree (AST) were planned. These likely include:

  • JObject Representation: The internal structure of JObject was expected to change from JObject(List[JField]) to JObject(Map[String, JValue]). This would break any code that directly constructs, deconstructs, or pattern matches on JObject instances.
  • Removal of JNothing: There were proposals to remove JNothing, which could affect code that relies on it as a 'zero' or null-equivalent value for JValue.

Recommendation:
Given the confirmation of breaking binary compatibility, this upgrade should be treated as high risk. Developers must thoroughly test all JSON parsing, serialization, and manipulation logic. Code that directly interacts with the json4s AST is especially likely to require refactoring.

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

@bwappsec bwappsec changed the title [Snyk] Security upgrade org.json4s:json4s-jackson_2.12 from 3.6.7 to 4.0.0 SWI-3723 [Snyk] Security upgrade org.json4s:json4s-jackson_2.12 from 3.6.7 to 4.0.0 Mar 5, 2026
@bwappsec
Copy link
Author

bwappsec commented Mar 5, 2026

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

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues
Code Security 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.

2 participants