CVE-2020-36179: Unsafe Deserialization in jackson-databind
Summary
CVE-2020-36179: Unsafe Deserialization in jackson-databind. Affects com.fasterxml.jackson.core:jackson-databind across 2 version ranges.
>= 2.0.0, < 2.6.7.5
>= 2.7.0, < 2.9.10.8
Fixed in 2.6.7.5 or 2.9.10.8, depending on the release line you run. How to fix ↓
Also tracked for
- jackson-databind · Debian:11
The same CVE-2020-36179 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The jackson-databind package is a popular Java library used for serializing and deserializing JSON data. It provides functionality to convert JSON data to Java objects and vice versa. This vulnerability affects versions 2.x before 2.9.10.8 of the FasterXML jackson-databind library. The vulnerability arises from mishandling the interaction between serialization gadgets and typing, specifically related to oadd.org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.
Vulnerability Detail
The vulnerability in jackson-databind allows for unsafe deserialization, which can lead to remote code execution attacks. An attacker can exploit this vulnerability by providing a specially crafted serialized object that triggers the execution of arbitrary code during the deserialization process. This can result in the compromise of the application or server hosting the vulnerable code. The severity of this vulnerability is rated as HIGH with a CVSS score of 8.1.
How To Fix
Latest published version: 2.22.4 as of 23 Oct 2026
Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.
If you can't move to the latest
The minimum fixed version depends on the release line you run.
-
>= 2.0.0, < 2.6.7.52.6.7.5 -
>= 2.7.0, < 2.9.10.82.9.10.8
Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →
Workaround
There is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading to a secure version of the jackson-databind library.
Conclusion
The CVE-2020-36179 vulnerability in jackson-databind poses a significant risk due to its potential for remote code execution. It is crucial to upgrade to a secure version of the library (2.9.10.8 or later) to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for com.fasterxml.jackson.core:jackson-databind →
FAQ
Jackson-databind is a Java library used for serializing and deserializing JSON data. It provides functionality to convert JSON data to Java objects and vice versa.
This vulnerability allows for remote code execution attacks, potentially leading to the compromise of the application or server hosting the vulnerable code.
To fix this vulnerability, upgrade to version 2.9.10.8 or later of the jackson-databind library.
No, there is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to a secure version of the library.
The severity of this vulnerability is rated as HIGH with a CVSS score of 8.1.
References
Related vulnerabilities
Recent vulnerabilities recorded for com.fasterxml.jackson.core:jackson-databind.