CVE-2026-54516 jackson-databind: Renamed @JsonIgnore'd setters can deserialize via private fields
설명
jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.21.0 until 2.21.4 and 3.1.4, POJOPropertiesCollector._renameProperties() allows a property with @JsonProperty("renamed") on the getter and @JsonIgnore on the setter to be renamed rather than dropped. With MapperFeature.INFER_PROPERTY_MUTATORS enabled (default), the private backing field is retained; during deserialization BeanDeserializerFactory.addBeanProps() sees hasField()==true, builds a FieldProperty, and makes the backing field writable. An attacker supplying the renamed JSON key writes the backing field directly, bypassing the @JsonIgnore on the setter. This vulnerability is fixed in 3.1.4.
영향 받는 제품 제품 1개
-
해결 버전 있음
FasterXML
jackson-databind
영향 받는 버전
- 2.21.0 이상 2.21.4 미만
- 3.0.0 이상 3.1.4 미만
해결 버전
- 2.21.4 이상
- 3.1.4 이상
참고 자료 5건
- github.com https://github.com/FasterXML/jackson-databind/commit/c3d56dd25d52319828147c5b9aeabf2d485c250a (새 창)
- github.com https://github.com/FasterXML/jackson-databind/commit/e88cb17006b6af4883b973058f0bb6486e5074af (새 창)
- github.com https://github.com/FasterXML/jackson-databind/pull/5967 (새 창)
- github.com https://github.com/FasterXML/jackson-databind/pull/5968 (새 창)
- github.com https://github.com/FasterXML/jackson-databind/security/advisories/GHSA-9fxm-vc8v-hj55 (새 창)