VDB
KO
HIGH

GHSA-qmqc-x3r4-6v39

Polymorphic deserialization of malicious object in jackson-databind

Quick fix

GHSA-qmqc-x3r4-6v39 — com.fasterxml.jackson.core:jackson-databind: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.9.10</version> for com.fasterxml.jackson.core:jackson-databind

Details

A flaw was discovered in FasterXML jackson-databind in all versions before 2.9.10 and 2.10.0, where it would permit polymorphic deserialization of malicious objects using the xalan JNDI gadget when used in conjunction with polymorphic type handling methods such as `enableDefaultTyping()` or when @JsonTypeInfo is using `Id.CLASS` or `Id.MINIMAL_CLASS` or in any other way which ObjectMapper.readValue might instantiate objects from unsafe sources. An attacker could use this flaw to execute arbitrary code.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / com.fasterxml.jackson.core:jackson-databind
Introduced in: 2.9.0 Fixed in: 2.9.10
Fix # pom.xml: bump <version>2.9.10</version> for com.fasterxml.jackson.core:jackson-databind

References