CVE-2020-36185: Unsafe Deserialization in jackson-databind

Summary

09/12/2021
Yes i
High
8.1

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

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.

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for com.fasterxml.jackson.core:jackson-databind.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback