5.3Media

CVE-2026-54516jackson-databind: Renamed @JsonIgnore'd setters can deserialize via private fields

FasterXML jackson-databind Publicada: (hace 4 meses)

Descripción

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.

Debilidad (CWE): CWE-915

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
FasterXML jackson-databind >= 2.21.0, < 2.21.4, >= 3.0.0, < 3.1.4

Referencias y parches

Coincidencias CPE (NVD) (2)

  • cpe:2.3:a:fasterxml:jackson-databind:*:*:*:*:*:*:*:* ≥ 2.21.0 < 2.21.4
  • cpe:2.3:a:fasterxml:jackson-databind:*:*:*:*:*:*:*:* ≥ 3.0.0 < 3.1.4