CVE-2020-36182: Unsafe Deserialization in jackson-databind
Summary
CVE-2020-36182: 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-36182 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 for converting JSON data to Java objects and vice versa. This vulnerability affects versions of jackson-databind prior to 2.9.10.8. The vulnerability arises from mishandling the interaction between serialization gadgets and typing, specifically related to org.apache.tomcat.dbcp.dbcp2.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 crafting a malicious serialized object that, when deserialized by a vulnerable application, triggers the execution of arbitrary code. This can result in the compromise of the affected system, unauthorized access to sensitive data, or other malicious activities. 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 essential to apply the recommended fix by upgrading to the patched version of jackson-databind.
Conclusion
The vulnerability in jackson-databind exposes applications to the risk of remote code execution attacks. It is crucial to promptly upgrade to the fixed version of jackson-databind (2.9.10.8 or later) to mitigate this vulnerability. Regularly updating dependencies and staying informed about security vulnerabilities is essential to ensure the security of your software. For further support on vulnerability remediation, you can reach out to 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 for converting JSON data to Java objects and vice versa.
This vulnerability allows for remote code execution attacks, which can lead to the compromise of the affected system, unauthorized access to sensitive data, or other malicious activities.
To fix this vulnerability, it is recommended to upgrade to jackson-databind version 2.9.10.8 or later.
There is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to the patched version of jackson-databind.
You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for open-source vulnerabilities in real-time.
References
Related vulnerabilities
Recent vulnerabilities recorded for com.fasterxml.jackson.core:jackson-databind.