CVE-2020-9547: jackson-databind mishandles the interaction between serialization gadgets and typing

Summary

15/05/2020
Yes i
Critical
9.8

CVE-2020-9547: jackson-databind mishandles the interaction between serialization gadgets and typing. Affects com.fasterxml.jackson.core:jackson-databind across 3 version ranges.

>= 2.0.0, < 2.7.9.7 >= 2.8.0, < 2.8.11.6 >= 2.9.0, < 2.9.10.4

Fixed in 2.7.9.7, 2.8.11.6 or 2.9.10.4, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2020-9547 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

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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The package under scrutiny is jackson-databind, which is a part of the FasterXML Jackson library. Jackson-databind is a data-binding package for Jackson that allows developers to convert Java objects to JSON and vice versa. It provides functionality for serializing and deserializing JSON data. This vulnerability affects versions of jackson-databind prior to 2.9.10.4. The vulnerability arises from the mishandling of the interaction between serialization gadgets and typing, specifically related to com.ibatis.sqlmap.engine.transaction.jta.JtaTransactionConfig (also known as ibatis-sqlmap).

Vulnerability Detail

The vulnerability in jackson-databind can lead to remote code execution attacks. By exploiting this vulnerability, an attacker can execute arbitrary code on the target system, potentially leading to a complete compromise of the system. The vulnerability is rated as critical with a CVSS score of 9.8. The vulnerability is caused by the improper handling of serialization gadgets and typing, allowing an attacker to inject malicious code during the deserialization process. This can be exploited by crafting a specially crafted JSON payload that triggers the vulnerability when processed by the affected versions of jackson-databind.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.7.9.7 2.7.9.7
  • >= 2.8.0, < 2.8.11.6 2.8.11.6
  • >= 2.9.0, < 2.9.10.4 2.9.10.4

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 the latest version of jackson-databind.

Conclusion

In conclusion, the vulnerability in jackson-databind can lead to remote code execution attacks and should be addressed by upgrading to version 2.9.10.4 or later. It is important to regularly update dependencies to ensure the latest security patches are applied. 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 data-binding package for Jackson that allows developers to convert Java objects to JSON and vice versa.

This vulnerability can lead to remote code execution attacks, potentially resulting in a complete compromise of the target system.

To fix this vulnerability, it is recommended to upgrade to version 2.9.10.4 or later of jackson-databind.

There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading to the latest version of jackson-databind.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your pom.xml file and Vulert will analyze it for open-source vulnerabilities, including this one.

Related vulnerabilities

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

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.7.9.7 2.7.9.7
  • >= 2.8.0, < 2.8.11.6 2.8.11.6
  • >= 2.9.0, < 2.9.10.4 2.9.10.4

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. 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