CVE-2020-36189: 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 an 2.6.7.5 mishandles the interaction between serialization gadgets and typing, related to com.newrelic.agent.deps.ch.qos.logback.core.db.DriverManagerConnectionSource.
FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, related to com.newrelic.agent.deps.ch.qos.logback.core.db.DriverManagerConnectionSource.
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.6.7.5 - 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 - Upgrade
Upgrade
jackson-databind 2.6.xto a version that resolves this vulnerability.Fixed in 2.6.7.5 - Configuration
Avoid using @JsonTypeInfo with `using` set to `id.CLASS` or `id.MINIMAL_CLASS`.
Jackson Databind @JsonTypeInfo using = id.CLASS or id.MINIMAL_CLASS - Configuration
Do not use `enableDefaultTyping()`; avoid enabling default typing to prevent interaction between serialization gadgets and typing.
Jackson Databind enableDefaultTyping() = enabled - Configuration
Ensure the following classes are not available on the classpath to avoid the described gadget interactions: 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.
Java classpath Avoid specific gadget classes = present
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2020-36189?
The severity of CVE-2020-36189 is high due to its potential impact on data confidentiality, integrity, and system availability.
How do I fix CVE-2020-36189?
To fix CVE-2020-36189, upgrade jackson-databind to version 2.6.7.5 or 2.9.10.8 or later.
Which versions of jackson-databind are affected by CVE-2020-36189?
Versions of jackson-databind before 2.6.7.5 and between 2.7.0 and 2.9.10.8 are affected by CVE-2020-36189.
What type of vulnerability is CVE-2020-36189?
CVE-2020-36189 is a vulnerability that involves improper handling of serialization gadgets by jackson-databind.
Can CVE-2020-36189 lead to data breaches?
Yes, CVE-2020-36189 can potentially lead to data breaches due to its impact on data confidentiality and integrity.