Critical Deserialization Vulnerability in jackson-databind: Potential Code Execution Risk

jackson-databind Updated 02 Oct 2025

Summary

06/02/2018
N/A
Yes i
Critical
9.8

CVE-2017-7525: A deserialization flaw was discovered in the jackson-databind, versions before 2.6.7.1, 2.7.9.1 and 2.8.9, which could allow an unauthenticated user to perform code execution by sending the maliciously crafted input to t... Affects jackson-databind across 2 version ranges.

< 2.9.1-1 < f7abd682a7b2f8145ecff1c4e205073949f1e623

Fixed in 2.9.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Jackson-databind is a widely used library in Java for converting Java objects to and from JSON. It is part of the Jackson suite, which provides powerful data-binding capabilities. The library is integral for applications that require JSON processing, making it a critical component in many Java-based systems. However, certain versions of jackson-databind are vulnerable to a deserialization flaw that can be exploited by attackers.

Vulnerability Detail

A deserialization flaw was discovered in jackson-databind versions prior to 2.6.7.1, 2.7.9.1, and 2.8.9. This vulnerability allows an unauthenticated user to execute arbitrary code by sending maliciously crafted input to the readValue method of the ObjectMapper. The flaw arises from improper handling of input data, which can lead to severe security implications, including unauthorized access and data manipulation.

How To Fix

Minimum fixed version

2.9.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 to filter out potentially malicious data before it reaches the ObjectMapper. This can help mitigate the risk until a proper update is applied.

Conclusion

The deserialization vulnerability in jackson-databind poses a significant risk to applications relying on this library for JSON processing. It is crucial to update to the latest versions to mitigate potential security threats. Regular monitoring and vulnerability assessments are recommended to maintain application security.

See every vulnerability recorded for jackson-databind →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of risk.

Versions of jackson-databind before 2.6.7.1, 2.7.9.1, and 2.8.9 are affected by this vulnerability.

If left unaddressed, this vulnerability can allow attackers to execute arbitrary code on your server, leading to potential data breaches and system compromise.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Vulert is a tool that monitors and alerts for open-source vulnerabilities in software using just a manifest file like package-lock.json, providing real-time insights.

Related vulnerabilities

Recent vulnerabilities recorded for jackson-databind.

How To Fix

Minimum fixed version

2.9.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