CVE-2019-20330: Deserialization of Untrusted Data in jackson-databind
Summary
CVE-2019-20330: Deserialization of Untrusted Data in jackson-databind. Affects com.fasterxml.jackson.core:jackson-databind across 4 version ranges.
>= 2.0.0, < 2.6.7.4
>= 2.7.0, < 2.7.9.7
>= 2.8.0, < 2.8.11.5
>= 2.9.0, < 2.9.10.2
Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓
Also tracked for
- jackson-databind · Debian:11
The same CVE-2019-20330 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 for serializing and deserializing JSON data. It provides functionality to convert Java objects to JSON and vice versa. This vulnerability affects versions 2.x before 2.6.7.4, 2.7.x before 2.7.9.7, 2.8.x before 2.8.11.5, and 2.9.x before 2.9.10.2 of the package. The vulnerability arises from a lack of certain net.sf.ehcache blocking in the library.
Vulnerability Detail
The vulnerability in jackson-databind allows for deserialization of untrusted data, which can lead to remote code execution and other security issues. Attackers can exploit this vulnerability by providing malicious input during the deserialization process, potentially executing arbitrary code on the target system. This can result in unauthorized access, data breaches, and other serious consequences. The Common Vulnerabilities and Exposures (CVE) identifier for this vulnerability is CVE-2019-20330.
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.42.6.7.4 -
>= 2.7.0, < 2.7.9.72.7.9.7 -
>= 2.8.0, < 2.8.11.52.8.11.5 -
>= 2.9.0, < 2.9.10.22.9.10.2
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 recommended to apply the fix by upgrading to a secure version of jackson-databind.
Conclusion
The vulnerability in jackson-databind can lead to remote code execution and other security issues. It is crucial to upgrade to a fixed version of the package to mitigate the risk of exploitation. 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 used for serializing and deserializing JSON data. It provides functionality to convert Java objects to JSON and vice versa.
The vulnerability allows for deserialization of untrusted data, which can lead to remote code execution and other security issues. Attackers can potentially execute arbitrary code on the target system, resulting in unauthorized access and data breaches.
To fix this vulnerability, it is recommended to upgrade to a fixed version of jackson-databind. Refer to the 'how_to_fix' section for specific version recommendations.
There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading to a secure version of jackson-databind.
You can find more information about this vulnerability in the provided sources: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/03/GHSA-gww7-p5w4-wrfv/GHSA-gww7-p5w4-wrfv.json
References
Related vulnerabilities
Recent vulnerabilities recorded for com.fasterxml.jackson.core:jackson-databind.