CVE-2020-36186: 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 org.apache.tomcat.dbcp.dbcp.datasources.PerUserPoolDataSource.
FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, related to org.apache.tomcat.dbcp.dbcp.datasources.PerUserPoolDataSource.
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
jackson-databind 2.xto a version that resolves this vulnerability.Fixed in 2.9.10.8 - Configuration
Do not use @JsonTypeInfo with id.CLASS or id.MINIMAL_CLASS in Jackson configuration when handling untrusted data.
Jackson Databind @JsonTypeInfo (use of id.CLASS or id.MINIMAL_CLASS) = avoid id.CLASS and id.MINIMAL_CLASS - Configuration
Avoid enabling default typing (do not use enableDefaultTyping()).
Jackson Databind enableDefaultTyping() = do not call enableDefaultTyping() - Compensating control
Avoid or remove the following classes from the classpath to reduce exploitability: oadd.org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS, org.apache.commons.dbcp2.cpdsadapter.DriverAdapterCPDS, org.apache.tomcat.dbcp.dbcp.cpdsadapter.DriverAdapterCPDS, org.apache.tomcat.dbcp.dbcp2.cpdsadapter.DriverAdapterCPDS, org.docx4j.org.apache.xalan.lib.sql.JNDIConnectionPool, org.apache.tomcat.dbcp.dbcp2.datasources.PerUserPoolDataSource, org.apache.tomcat.dbcp.dbcp2.datasources.SharedPoolDataSource, org.apache.tomcat.dbcp.dbcp.datasources.PerUserPoolDataSource, org.apache.tomcat.dbcp.dbcp.datasources.SharedPoolDataSource, com.newrelic.agent.deps.ch.qos.logback.core.db.JNDIConnectionSource, com.newrelic.agent.deps.ch.qos.logback.core.db.DriverManagerConnectionSource.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2020-36186?
The severity of CVE-2020-36186 is significant, as it poses risks to data confidentiality, integrity, and system availability.
How do I fix CVE-2020-36186?
To fix CVE-2020-36186, upgrade to FasterXML jackson-databind version 2.9.10.8 or later.
Which versions of jackson-databind are affected by CVE-2020-36186?
CVE-2020-36186 affects FasterXML jackson-databind versions prior to 2.9.10.8.
What types of attacks exploit CVE-2020-36186?
CVE-2020-36186 can be exploited through serialization gadget attacks that may compromise sensitive data.
Is CVE-2020-36186 a critical vulnerability?
While CVE-2020-36186 is not rated as critical, it poses a serious risk that requires prompt attention and mitigation.