CVE-2020-36187: 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.SharedPoolDataSource.
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
FasterXML jackson-databind 2.xto a version that resolves this vulnerability.Fixed in 2.9.10.8 - Configuration
Avoid using `@JsonTypeInfo` with `using = id.CLASS` or `using = id.MINIMAL_CLASS`.
Jackson `@JsonTypeInfo` use of `id.CLASS` or `id.MINIMAL_CLASS` = avoid - Configuration
Avoid calling `enableDefaultTyping()`.
Jackson enableDefaultTyping() = disable/avoid - Compensating control
Ensure the listed classes/adapters are not present/accessible on 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-36187?
CVE-2020-36187 has a high severity level as it impacts data confidentiality, integrity, and system availability.
How do I fix CVE-2020-36187?
To fix CVE-2020-36187, update to jackson-databind version 2.9.10.8 or later.
What software is affected by CVE-2020-36187?
CVE-2020-36187 affects FasterXML jackson-databind versions prior to 2.9.10.8.
What types of attacks can exploit CVE-2020-36187?
CVE-2020-36187 can be exploited through deserialization attacks targeting vulnerable applications using jackson-databind.
Is mitigation available for CVE-2020-36187?
Yes, mitigation is available by upgrading to the protected version of jackson-databind or applying appropriate security configurations.