Description
jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.15.0 until 2.18.8, 2.21.4, and 3.1.4, Java Records using a PropertyNamingStrategy can bypass @JsonIgnore because POJOPropertiesCollector._removeUnwantedIgnorals() records an ignored component under its original implicit name before _renameUsing() applies the naming strategy, allowing the renamed JSON key to be assigned to the Record constructor parameter. This issue is fixed in versions 2.18.8, 2.21.4, and 3.1.4.
Problem types
CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes
Product status
>= 2.19.0, < 2.21.4
>= 3.0.0, < 3.1.4
References
github.com/...tabind/security/advisories/GHSA-3pjw-73gf-8qr5
github.com/FasterXML/jackson-databind/pull/5974
github.com/...ommit/baa2cdf5ca2b2717fbb88d91955d69d8651df3e4
github.com/...ommit/c7c678360624da5bc7eed2152789fa522880db9d