## Summary In `BeanDeserializerBase.createContextual()`, per-property `@JsonIgnoreProperties` exclusions are applied by `_handleByNameInclusion()`, producing a `contextual` deserializer whose `BeanPropertyMap` has the ignored properties removed. The subsequent per-property case-insensitivity block (triggered by `@JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)`) rebuilds from `this._beanProperties` (the original, unfiltered map) instead of `contextual._beanProperties`, then overwrites the filtered map — restoring every property `_handleByNameInclusion` had just removed. The ignored property becomes writable again. ## Impact An application that both enables case-insensitive matching and relies on per-property `@JsonIgnoreProperties` to keep a field unwritable can have that field set from untrusted JSON (mass-assignment-style write). ## Affected / Patched Fixed in 2.18.9, 2.21.5 and 3.1.4. ## Severity / CWE Maintainer: minor. Reporter: Moderate. CWE-915. ## Upstream fix FasterXML/jackson-databind#5962 (PR #5964, `0e1b0b2`), milestone 3.1.4. Released 2026-06-04. ## Credits Omkhar Arasaratnam (@omkhar) - finder.
## Summary In `BeanDeserializerBase.createContextual()`, per-property `@JsonIgnoreProperties` exclusions are applied by `_handleByNameInclusion()`, producing a `contextual` deserializer whose `BeanPropertyMap` has the ignored properties removed. The subsequent per-property case-insensitivity block (triggered by `@JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)`) rebuilds from `this._beanProperties` (the original, unfiltered map) instead of `contextual._beanProperties`, then overwrites the filtered map — restoring every property `_handleByNameInclusion` had just removed. The ignored property becomes writable again. ## Impact An application that both enables case-insensitive matching and relies on per-property `@JsonIgnoreProperties` to keep a field unwritable can have that field set from untrusted JSON (mass-assignment-style write). ## Affected / Patched Fixed in 2.18.9, 2.21.5 and 3.1.4. ## Severity / CWE Maintainer: minor. Reporter: Moderate. CWE-915. ## Upstream fix FasterXML/jackson-databind#5962 (PR #5964, `0e1b0b2`), milestone 3.1.4. Released 2026-06-04. ## Credits Omkhar Arasaratnam (@omkhar) - finder.
Update com.fasterxml.jackson.core:jackson-databind to 3.1.4; com.fasterxml.jackson.core:jackson-databind to 2.18.9; com.fasterxml.jackson.core:jackson-databind to 2.21.5; com.fasterxml.jackson.core:jackson-databind to 2.22.1; tools.jackson.core:jackson-databind to 3.1.4 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanjackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties affects com.fasterxml.jackson.core:jackson-databind (maven), com.fasterxml.jackson.core:jackson-databind (maven), com.fasterxml.jackson.core:jackson-databind (maven), com.fasterxml.jackson.core:jackson-databind (maven), tools.jackson.core:jackson-databind (maven). Severity is medium. ## Summary In `BeanDeserializerBase.createContextual()`, per-property `@JsonIgnoreProperties` exclusions are applied by `_handleByNameInclusion()`, producing a `contextual` deserializer whose `BeanPropertyMap` has the ignored properties removed. The subsequent per-property case-insensitivity block (triggered by `@JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)`) rebuilds from `this._beanProperties` (the original, unfiltered map) instead of `contextual._beanProperties`, then overwrites the filtered map — restoring every property `_handleByNameInclusion` had just removed. The ignored property becomes writable again. ## Impact An application that both enables case-insensitive matching and relies on per-property `@JsonIgnoreProperties` to keep a field unwritable can have that field set from untrusted JSON (mass-assignment-style write). ## Affected / Patched Fixed in 2.18.9, 2.21.5 and 3.1.4. ## Severity / CWE Maintainer: minor. Reporter: Moderate. CWE-915. ## Upstream fix FasterXML/jackson-databind#5962 (PR #5964, `0e1b0b2`), milestone 3.1.4. Released 2026-06-04. ## Credits Omkhar Arasaratnam (@omkhar) - finder.
AI coding agents often install or upgrade packages automatically in maven. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| com.fasterxml.jackson.core:jackson-databindmaven | >=3.1.0,<3.1.4 | 3.1.4 |
| com.fasterxml.jackson.core:jackson-databindmaven | >=2.8.0,<2.18.9 | 2.18.9 |
| com.fasterxml.jackson.core:jackson-databindmaven | >=2.19.0,<2.21.5 | 2.21.5 |
| com.fasterxml.jackson.core:jackson-databindmaven | >=2.22.0,<2.22.1 | 2.22.1 |
| tools.jackson.core:jackson-databindmaven | >=3.1.0,<3.1.4 | 3.1.4 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardUpdate com.fasterxml.jackson.core:jackson-databind to 3.1.4; com.fasterxml.jackson.core:jackson-databind to 2.18.9; com.fasterxml.jackson.core:jackson-databind to 2.21.5; com.fasterxml.jackson.core:jackson-databind to 2.22.1; tools.jackson.core:jackson-databind to 3.1.4 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scanjackson-databind has case-insensitive deserialization bypasses per-property @JsonIgnoreProperties affects com.fasterxml.jackson.core:jackson-databind (maven), com.fasterxml.jackson.core:jackson-databind (maven), com.fasterxml.jackson.core:jackson-databind (maven), com.fasterxml.jackson.core:jackson-databind (maven), tools.jackson.core:jackson-databind (maven). Severity is medium. ## Summary In `BeanDeserializerBase.createContextual()`, per-property `@JsonIgnoreProperties` exclusions are applied by `_handleByNameInclusion()`, producing a `contextual` deserializer whose `BeanPropertyMap` has the ignored properties removed. The subsequent per-property case-insensitivity block (triggered by `@JsonFormat(ACCEPT_CASE_INSENSITIVE_PROPERTIES)`) rebuilds from `this._beanProperties` (the original, unfiltered map) instead of `contextual._beanProperties`, then overwrites the filtered map — restoring every property `_handleByNameInclusion` had just removed. The ignored property becomes writable again. ## Impact An application that both enables case-insensitive matching and relies on per-property `@JsonIgnoreProperties` to keep a field unwritable can have that field set from untrusted JSON (mass-assignment-style write). ## Affected / Patched Fixed in 2.18.9, 2.21.5 and 3.1.4. ## Severity / CWE Maintainer: minor. Reporter: Moderate. CWE-915. ## Upstream fix FasterXML/jackson-databind#5962 (PR #5964, `0e1b0b2`), milestone 3.1.4. Released 2026-06-04. ## Credits Omkhar Arasaratnam (@omkhar) - finder.
AI coding agents often install or upgrade packages automatically in maven. A medium vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| com.fasterxml.jackson.core:jackson-databindmaven | >=3.1.0,<3.1.4 | 3.1.4 |
| com.fasterxml.jackson.core:jackson-databindmaven | >=2.8.0,<2.18.9 | 2.18.9 |
| com.fasterxml.jackson.core:jackson-databindmaven | >=2.19.0,<2.21.5 | 2.21.5 |
| com.fasterxml.jackson.core:jackson-databindmaven | >=2.22.0,<2.22.1 | 2.22.1 |
| tools.jackson.core:jackson-databindmaven | >=3.1.0,<3.1.4 | 3.1.4 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard