REDHAT-BUG-2492010: High severity fasterxml jackson-databind vulnerability
jackson-databind contains the general-purpose data-binding functionality and tree-model for Jackson Data Processor. From 2.10.0 until 2.18.8, 2.21.4, and 3.1.4, BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() allowlists any array type based only on clazz.isArray(), without validating the array's component (element) type against the configured allowlist. A PTV built with allowIfSubTypeIsArray() plus an explicit concrete-type allowlist therefore still permits EvilType[] even though EvilType is not allowlisted. When Jackson deserializes the elements and no per-element type IDs are present, it instantiates the component type directly with no further PTV check, bypassing the allowlist. This vulnerability is fixed in 2.18.8, 2.21.4, and 3.1.4.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
jackson-databindto a version that resolves this vulnerability.Fixed in 2.18.8 - Upgrade
Upgrade
jackson-databindto a version that resolves this vulnerability.Fixed in 2.21.4 - Upgrade
Upgrade
jackson-databindto a version that resolves this vulnerability.Fixed in 3.1.4
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2492010?
The severity of REDHAT-BUG-2492010 is classified as high with a score of 7.
How do I fix REDHAT-BUG-2492010?
To fix REDHAT-BUG-2492010, upgrade jackson-databind to versions 2.18.9 or later, or to 2.21.5 or later, or to 3.1.5 or later.
What is the main vulnerability in REDHAT-BUG-2492010?
The vulnerability in REDHAT-BUG-2492010 allows the BasicPolymorphicTypeValidator.Builder.allowIfSubTypeIsArray() method to inadvertently allow any array type without proper validation.
Which versions of jackson-databind are affected by REDHAT-BUG-2492010?
Versions of jackson-databind affected by REDHAT-BUG-2492010 include 2.10.0 to 2.18.8, 2.21.4, and 3.1.4.
What software is impacted by REDHAT-BUG-2492010?
The software impacted by REDHAT-BUG-2492010 is FasterXML jackson-databind.