jackson-databind: @JsonView ypassed for @JsonUnwrapped container properties on deserialization
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2.18.9, 2.21.5, 2.22.1, 3.1.5, 3.2.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.18.0 until 2.18.9, 2.21.5, 2.22.1, 3.1.5, and 3.2.1, UnwrappedPropertyHandler.processUnwrapped() replays buffered JSON for a @JsonUnwrapped property and calls prop.deserializeAndSet() without a prop.visibleInView(ctxt.getActiveView()) guard, allowing a property annotated with both @JsonView and @JsonUnwrapped to be written from attacker JSON under a less-privileged active view. This issue is fixed in versions 2.18.9, 2.21.5, 2.22.1, 3.1.5, and 3.2.1.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- FasterXML jackson-databind
From 2.0.0-RC1 · fixed in 2.18.9; From 2.19.0 · fixed in 2.21.5; From 2.22.0 · fixed in 2.22.1; From 3.0.0 · fixed in 3.1.5; From 3.2.0 · fixed in 3.2.1
- com.fasterxml.jackson.core:jackson-databindMaven
From 2.19.0 · fixed in 2.21.5
- tools.jackson.core:jackson-databindMaven
From 3.0.0 · fixed in 3.1.5
- com.fasterxml.jackson.core:jackson-databindMaven
From 2.0.0-RC1 · fixed in 2.18.9
- com.fasterxml.jackson.core:jackson-databindMaven
From 2.22.0 · fixed in 2.22.1
- tools.jackson.core:jackson-databindMaven
From 3.2.0 · fixed in 3.2.1