Critical Serialization Vulnerability in jackson-databind: CVE-2020-35728

jackson-databind Updated 02 Oct 2025

Summary

27/12/2020
N/A
Yes i
High
8.1

CVE-2020-35728: FasterXML jackson-databind 2.x before 2.9.10.8 mishandles the interaction between serialization gadgets and typing, related to com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPool (aka embedded Xalan in org.... Affects jackson-databind across 2 version ranges.

< 2.12.1-1 >= e969f0a31b781f5dfb74e16ddd5ee4b4fa36e8d8, < 7ae9214c0670eeb679dd131ab0aee3565cc7af87

Fixed in 2.12.1-1. How to fix ↓

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

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

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

jackson-databind is a widely used library in Java for converting Java objects to JSON and vice versa. It is part of the Jackson suite, which is known for its performance and ease of use. This library is integral to many applications that require data interchange in JSON format. However, it has been found to be vulnerable to a critical serialization issue that can lead to remote code execution if exploited.

Vulnerability Detail

CVE-2020-35728 is a vulnerability in FasterXML's jackson-databind library, specifically affecting versions prior to 2.9.10.8. The vulnerability arises from improper handling of serialization gadgets and typing, particularly related to the com.oracle.wls.shaded.org.apache.xalan.lib.sql.JNDIConnectionPool. This flaw can allow attackers to exploit serialization mechanisms to execute arbitrary code on the server, posing significant security risks to applications using this library.

How To Fix

Minimum fixed version

2.12.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jackson-databind

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing input validation and sanitization to mitigate the risk of exploitation. Additionally, restrict the use of serialization features in your application until the library can be updated.

Conclusion

CVE-2020-35728 is a critical vulnerability in the jackson-databind library that poses significant risks to applications using affected versions. It is crucial to upgrade to the latest version to ensure security. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for jackson-databind →

Share this vulnerability

FAQ

CVE-2020-35728 is a vulnerability in the jackson-databind library that allows for remote code execution due to improper handling of serialization.

Versions of jackson-databind prior to 2.9.10.8 are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software by analyzing your manifest file like package-lock.json. You can check your application at Vulert Scanner.

Exploitation of this vulnerability can lead to remote code execution, allowing attackers to execute arbitrary code on the server, which can compromise the entire application.

Yes, implementing input validation and sanitization can help mitigate the risk until an upgrade is possible.

Related vulnerabilities

Recent vulnerabilities recorded for jackson-databind.

How To Fix

Minimum fixed version

2.12.1-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade jackson-databind

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