Critical Vulnerability in libjackson-json-java: Arbitrary Code Execution Risk

libjackson-json-java Updated 03 Oct 2025

Summary

18/02/2021
N/A
Yes i
Unrated
Not published

USN-4741-1: libjackson-json-java vulnerabilities. Affects libjackson-json-java versions < 1.9.2-7ubuntu0.2. Fixed in 1.9.2-7ubuntu0.2. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libjackson-json-java is a Java library that provides functionality for processing JSON data using the Jackson framework. It is widely used in various applications for its ease of use and efficiency in handling JSON serialization and deserialization. However, it has been found to have a critical vulnerability that allows for improper handling of deserialization, potentially leading to severe security risks.

Vulnerability Detail

The vulnerability arises from the way Jackson Databind handles deserialization. An attacker can exploit this flaw to execute arbitrary code on the server or client-side, leading to unauthorized access, data breaches, or complete system compromise. This issue is particularly dangerous as it can be triggered through maliciously crafted JSON input, making it a significant threat to applications relying on this library.

How To Fix

Minimum fixed version

1.9.2-7ubuntu0.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libjackson-json-java

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

Workaround

If immediate patching is not feasible, consider implementing input validation to sanitize JSON data before deserialization. This can help mitigate the risk of arbitrary code execution. Additionally, avoid using untrusted sources for JSON input.

Conclusion

The vulnerability in libjackson-json-java poses a significant risk due to its potential for arbitrary code execution. It is crucial to update to the patched version to mitigate this risk. For those unable to update immediately, implementing input validation can serve as a temporary workaround.

See every vulnerability recorded for libjackson-json-java →

Share this vulnerability

FAQ

The vulnerability allows for improper handling of deserialization, which can lead to arbitrary code execution.

You can use Vulert's playground at Vulert Scanner to check if your application is affected without any signup.

Exploiting this vulnerability can lead to unauthorized access, data breaches, or complete system compromise.

Yes, the patched version is 1.9.2-7ubuntu0.2, which addresses the vulnerability.

Implement input validation to sanitize JSON data and avoid using untrusted sources for JSON input as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for libjackson-json-java.

How To Fix

Minimum fixed version

1.9.2-7ubuntu0.2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libjackson-json-java

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