CVE-2022-42003 Uncontrolled Resource Consumption in Jackson-databind

High 7.5 Published Updated

Attackers can cause resource exhaustion via deep wrapper array nesting in jackson-databind when UNWRAP_SINGLE_VALUE_ARRAYS is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-42003?

CVE-2022-42003 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 2 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In FasterXML jackson-databind before versions 2.13.4.1 and 2.12.17.1, resource exhaustion can occur because of a lack of a check in primitive value deserializers to avoid deep wrapper array nesting, when the UNWRAP_SINGLE_VALUE_ARRAYS feature is enabled.

Weakness: CWE-502

Which versions are affected by CVE-2022-42003?

4 open source packages ship an affected version, including com.fasterxml.jackson.core:jackson-databind. It affects 4 products.

PackageAffectedFixed in
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.13.02.13.4.2
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.13.02.13.4.2
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.4.0-rc12.12.7.1
com.fasterxml.jackson.core:jackson-databind MavenFrom 2.4.0-rc12.12.7.1
Linux distribution packages (1)
java-jwt openSUSE:TumbleweedAll versions4.4.0-1.1

Products include Debian Debian Linux, Fasterxml Jackson-Databind, Netapp Oncommand Workflow Automation, Quarkus Quarkus.

How do I fix CVE-2022-42003?

Upgrade com.fasterxml.jackson.core:jackson-databind to a fixed version for your release line: 2.13.4.2 or 2.12.7.1.

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-42003 being exploited?

There is no known exploitation of CVE-2022-42003 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as CLEANSTART-2025-LH78565, CLEANSTART-2026-AS89011, DEBIAN-CVE-2022-42003, ECHO-eda2-5b30-fb0d, GHSA-jjjh-jjxp-wpff, MINI-447r-3mgx-rrqv and 7 more.

Is CVE-2022-42003 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free