CVE-2022-40150 Stack Buffer Overflow in Jettison
Attackers can cause a denial of service by sending crafted XML or JSON data to applications using the Jettison library, leading to memory exhaustion.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-40150?
CVE-2022-40150 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 16 Sep 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Those using Jettison to parse untrusted XML or JSON data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by Out of memory. This effect may support a denial of service attack.
Which versions are affected by CVE-2022-40150?
2 open source packages ship an affected version, including org.codehaus.jettison:jettison. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
org.codehaus.jettison:jettison Maven | All versions | 1.5.2 |
org.codehaus.jettison:jettison Maven | All versions | 1.5.2 |
Products include Debian Debian Linux, Jettison Project Jettison.
How do I fix CVE-2022-40150?
Upgrade org.codehaus.jettison:jettison to 1.5.2 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2022-40150 being exploited?
There is no known exploitation of CVE-2022-40150 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2026-IX04206, DEBIAN-CVE-2022-40150, ECHO-d0ea-5f10-89bc, GHSA-x27m-9w8j-5vcw, UBUNTU-CVE-2022-40150.