Denial of Service Vulnerability in libjettison-java: Out of Memory Attack Risk

libjettison-java Updated 02 Oct 2025

Summary

16/09/2022
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2022-40150: Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). Affects libjettison-java versions < 1.5.3-1~deb11u1. Fixed in 1.5.3-1~deb11u1. 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 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

libjettison-java is a Java library used for parsing JSON and XML data. It is designed to facilitate the conversion of JSON data into Java objects and vice versa. The library is widely utilized in applications that require data interchange between systems. However, its handling of untrusted input makes it susceptible to vulnerabilities, particularly when parsing data from unknown sources.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2022-40150 allows attackers to exploit the libjettison-java library by supplying maliciously crafted XML or JSON data. This can lead to Denial of Service (DoS) attacks, where the parser may crash due to excessive memory consumption, resulting in application downtime. The vulnerability arises from inadequate handling of memory allocation during the parsing process, making it critical for users to ensure they are using a patched version of the library.

How To Fix

Minimum fixed version

1.5.3-1~deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libjettison-java

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

Workaround

As a temporary workaround, users should avoid parsing untrusted XML or JSON data until the library is updated. Implementing input validation and sanitization can also help mitigate the risk of DoS attacks.

Conclusion

The vulnerability in libjettison-java poses a significant risk of Denial of Service attacks through memory exhaustion. Users are strongly advised to update to the patched versions to safeguard their applications. Additionally, employing input validation can help mitigate potential threats until updates are applied.

See every vulnerability recorded for libjettison-java →

Share this vulnerability

FAQ

The vulnerability allows for Denial of Service attacks due to excessive memory consumption when parsing untrusted XML or JSON data.

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

Failure to address this vulnerability may lead to application crashes and downtime, impacting user experience and system reliability.

Yes, you should upgrade to version 1.5.3-1~deb11u1 for Debian 11, or 1.5.3-1 for Debian 12, 13, and 14.

If immediate updates are not possible, avoid parsing untrusted data and implement input validation to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for libjettison-java.

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

Minimum fixed version

1.5.3-1~deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libjettison-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