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 - Upgrade
Upgrade
com.fasterxml.jackson.core:jackson-databindto a version that resolves this vulnerability.Fixed in 2.9.10.8 - Configuration
Avoid enabling default typing via enableDefaultTyping() in jackson-databind.
FasterXML jackson-databind enableDefaultTyping() = do not enable - Configuration
Avoid using @JsonTypeInfo with use="id.CLASS" or use="id.MINIMAL_CLASS" to prevent unsafe type information interactions.
FasterXML jackson-databind @JsonTypeInfo(use=... id.CLASS or id.MINIMAL_CLASS) = do not use id.CLASS or id.MINIMAL_CLASS - Compensating control
Avoid placing com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPool (embedded Xalan in org.glassfish.web/javax.servlet.jsp.jstl) in the classpath.
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.