| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| com.fasterxml.jackson.core:jackson-databind | ≥ 2.19.0, < 2.21.5≥ 2.22.0, < 2.22.1≥ 2.8.0, < 2.18.9≥ 3.1.0, < 3.1.4 | 2.21.52.22.12.18.93.1.4 |
| tools.jackson.core:jackson-databind | ≥ 3.1.0, < 3.1.4 | 3.1.4 |
| jackson-databind | = 2.22.0≥ 2.19.0, < 2.21.5≥ 2.8.0, < 2.18.9≥ 3.0.0, < 3.1.4 | 2.21.52.18.93.1.4 |
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.
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).
Will be fixed in 2.18.9, 2.21.5, 2.22.1 and 3.1.4.
Maintainer: minor. Reporter: Moderate. CWE-915.
FasterXML/jackson-databind#5962 (PR #5964, 0e1b0b2), milestone 3.1.4. Released 2026-06-04.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí