CVE-2020-24616: Code Injection in jackson-databind
Summary
CVE-2020-24616: Code Injection in jackson-databind. Affects com.fasterxml.jackson.core:jackson-databind versions >= 2.0.0, < 2.9.10.6. Fixed in 2.9.10.6. How to fix ↓
Also tracked for
- jackson-databind · Debian:11
The same CVE-2020-24616 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 general-purpose data-binding library for Jackson Data Processor. It provides functionality for serializing and deserializing Java objects to and from JSON. This vulnerability affects versions 2.x before 2.9.10.6 of the package. The vulnerability arises from mishandling the interaction between serialization gadgets and typing, specifically related to the br.com.anteros.dbcp.AnterosDBCPDataSource (aka Anteros-DBCP).
Vulnerability Detail
The vulnerability in jackson-databind allows for code injection. An attacker can exploit this vulnerability to execute arbitrary code in the context of the application using the library. This can lead to various security issues, such as remote code execution, data leakage, or unauthorized access to sensitive information. The vulnerability has a CVSS score of 8.1, indicating a high severity level.
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.6
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 crucial to update to the fixed version of jackson-databind to mitigate the risk of code injection.
Conclusion
The code injection vulnerability in jackson-databind can have severe consequences, including remote code execution and unauthorized access to sensitive information. It is crucial to update to the fixed version of the package (2.9.10.6 or later) to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for com.fasterxml.jackson.core:jackson-databind →
FAQ
jackson-databind is a data-binding library for Jackson Data Processor, used for serializing and deserializing Java objects to and from JSON.
The vulnerability allows for code injection, which can lead to various security issues, including remote code execution, data leakage, or unauthorized access to sensitive information.
The CVSS score of this vulnerability is 8.1, indicating a high severity level.
To fix this vulnerability, update to version 2.9.10.6 or later of jackson-databind.
There is no known workaround for this vulnerability. It is essential to update to the fixed version of jackson-databind.
References
Related vulnerabilities
Recent vulnerabilities recorded for com.fasterxml.jackson.core:jackson-databind.