CVE-2020-35728: High severity fasterxml jackson-databind vulnerability
A flaw was found in jackson-databind. FasterXML mishandles the interaction between serialization gadgets and typing. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
Other sources
FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, related to com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPool (aka embedded Xalan in org.glassfish.web/javax.servlet.jsp.jstl).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
maven/com.fasterxml.jackson.core:jackson-databindto a version that resolves this vulnerability.Fixed in 2.9.10.8 - Upgrade
Upgrade
redhat/jackson-databindto a version that resolves this vulnerability.Fixed in 2.9.10.8 - Remove
Remove
com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPoolfrom your environment.Remove com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPool (embedded Xalan) from the application classpath if it is not required.
- Configuration
Do not call ObjectMapper.enableDefaultTyping(); disable default typing in your ObjectMapper configuration.
jackson-databind enableDefaultTyping() = disabled - Configuration
Avoid using @JsonTypeInfo with use = id.CLASS or id.MINIMAL_CLASS; remove or replace polymorphic typing annotations that disclose or rely on concrete class names.
Jackson @JsonTypeInfo use = avoid id.CLASS and id.MINIMAL_CLASS - Compensating control
Avoid deserialization of data from sources you do not control. Restrict or authenticate endpoints that accept serialized data, validate or whitelist allowed types, or otherwise block untrusted inputs prior to deserialization.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2020-35728?
CVE-2020-35728 is a vulnerability in the FasterXML jackson-databind library.
How severe is CVE-2020-35728?
CVE-2020-35728 has a severity rating of 8.1 (high).
What is the affected software by CVE-2020-35728?
The affected software is jackson-databind version up to but excluding 2.9.10.8.
What is the CWE of CVE-2020-35728?
The CWE of CVE-2020-35728 is CWE-96.
How can CVE-2020-35728 be fixed?
To fix CVE-2020-35728, you need to update jackson-databind to version 2.9.10.8.