GHSA-h46c-h94j-95f3

Suggest an improvement
Source
https://github.com/advisories/GHSA-h46c-h94j-95f3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-h46c-h94j-95f3/GHSA-h46c-h94j-95f3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h46c-h94j-95f3
Aliases
Related
Published
2025-06-27T15:22:22Z
Modified
2025-06-27T16:03:13.670847Z
Downstream
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
jackson-core can throw a StackoverflowError when processing deeply nested data
Details

Impact

With older versions of jackson-core, if you parse an input file and it has deeply nested data, Jackson could end up throwing a StackoverflowError if the depth is particularly large.

Patches

jackson-core 2.15.0 contains a configurable limit for how deep Jackson will traverse in an input document, defaulting to an allowable depth of 1000. Change is in https://github.com/FasterXML/jackson-core/pull/943. jackson-core will throw a StreamConstraintsException if the limit is reached. jackson-databind also benefits from this change because it uses jackson-core to parse JSON inputs.

Workarounds

Users should avoid parsing input files from untrusted sources.

Database specific
{
    "nvd_published_at": "2025-06-25T17:15:39Z",
    "severity": "HIGH",
    "github_reviewed_at": "2025-06-27T15:22:22Z",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-121"
    ]
}
References

Affected packages

Maven / com.fasterxml.jackson.core:jackson-core

Package

Name
com.fasterxml.jackson.core:jackson-core
View open source insights on deps.dev
Purl
pkg:maven/com.fasterxml.jackson.core/jackson-core

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.15.0

Affected versions

2.*

2.0.0-RC1
2.0.0-RC2
2.0.0-RC3
2.0.0
2.0.1
2.0.2
2.0.4
2.0.5
2.0.6
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.2.0-rc1
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4
2.3.0-rc1
2.3.0
2.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