Stack Overflow Vulnerability in Jettison Package (CVE-2022-45693)

libjettison-java Updated 02 Oct 2025

Summary

13/12/2022
N/A
Yes i
High
7.5

CVE-2022-45693: Jettison before v1.5.2 was discovered to contain a stack overflow via the map parameter. Affects libjettison-java across 2 version ranges.

< 1.5.3-1~deb11u1 < 6dc73a07ac47c7e3b4c7d041761fbc11aee2eb50

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

Jettison is a lightweight JSON library for Java that allows for easy manipulation of JSON data. It is widely used in various applications for parsing and generating JSON. The library is designed to be efficient and simple, making it a popular choice among developers. However, prior to version 1.5.2, Jettison was found to be vulnerable to a stack overflow issue, which can lead to Denial of Service (DoS) attacks, compromising the stability of applications that rely on it.

Vulnerability Detail

The vulnerability identified as CVE-2022-45693 arises from a stack overflow caused by the 'map' parameter in Jettison. Attackers can exploit this flaw by sending a specially crafted string that triggers the overflow, resulting in a Denial of Service (DoS). This means that the affected application may crash or become unresponsive, impacting users and potentially leading to data loss. The vulnerability is particularly concerning as it can be exploited without authentication, making it accessible to any attacker.

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

If upgrading is not immediately possible, consider implementing input validation to sanitize the 'map' parameter before processing it. This can help mitigate the risk of triggering the stack overflow. Additionally, you can limit the size of input strings to prevent excessively large payloads from being processed.

Conclusion

CVE-2022-45693 represents a significant vulnerability in the Jettison library, with the potential to disrupt services through Denial of Service attacks. It is crucial for users to upgrade to the latest version to safeguard their applications. Additionally, utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for libjettison-java →

Share this vulnerability

FAQ

CVE-2022-45693 is a vulnerability in the Jettison library that allows attackers to exploit a stack overflow via the 'map' parameter, leading to Denial of Service (DoS).

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

Exploitation of this vulnerability can lead to application crashes and unavailability, impacting user experience and potentially causing data loss.

The CVSS score for CVE-2022-45693 is 7.5, indicating a high severity level.

Yes, implementing input validation and limiting the size of input strings can help mitigate the risk until an upgrade can be performed.

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