CVE-2020-36185: Unsafe Deserialization in jackson-databind
Summary
CVE-2020-36185: Unsafe Deserialization in jackson-databind. Affects com.fasterxml.jackson.core:jackson-databind versions >= 2.0.0, < 2.9.10.8. Fixed in 2.9.10.8. How to fix ↓
Also tracked for
- jackson-databind · Debian:11
The same CVE-2020-36185 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 part of the FasterXML Jackson library for Java, which provides functionality for converting Java objects to JSON and vice versa. It is widely used in various applications and frameworks. This vulnerability affects versions prior to 2.9.10.8 of jackson-databind. The vulnerability arises from mishandling the interaction between serialization gadgets and typing, specifically in the org.apache.tomcat.dbcp.dbcp2.datasources.SharedPoolDataSource class.
Vulnerability Detail
The vulnerability in jackson-databind allows for unsafe deserialization, which can lead to remote code execution and other security risks. An attacker can exploit this vulnerability by sending a specially crafted serialized object to a vulnerable application that uses jackson-databind for deserialization. This can result in arbitrary code execution with the privileges of the application. 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 version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.9.10.8
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. 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 can lead to remote code execution and other security risks. It is crucial to upgrade to the fixed version of jackson-databind (2.9.10.8 or later) to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for com.fasterxml.jackson.core:jackson-databind →
FAQ
Jackson-databind is a Java library that provides functionality for converting Java objects to JSON and vice versa. It is widely used in various applications and frameworks.
This vulnerability allows for remote code execution and other security risks. An attacker can exploit it to execute arbitrary code with the privileges of the application.
To fix this vulnerability, you should upgrade the jackson-databind package to version 2.9.10.8 or later.
No, there is no known workaround for this vulnerability. It is crucial to apply the recommended fix by upgrading to the patched version of jackson-databind.
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.