Skip to main content

CVE-2022-42004 — Uncontrolled Resource Consumption in jackson-databind

HIGH

Uncontrolled Resource Consumption in FasterXML jackson-databind

Published October 3, 2022Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (3.41%). Schedule for your next planned update.

Does your project use an affected com.fasterxml.jackson.core:jackson-databind version?

Paste your pom.xml to check it for CVE-2022-42004 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

In FasterXML jackson-databind before 2.12.7.1 and in 2.13.x before 2.13.4, resource exhaustion can occur because of a lack of a check in BeanDeserializer._deserializeFromArray to prevent use of deeply nested arrays. This issue can only happen when the UNWRAP_SINGLE_VALUE_ARRAYS feature is explicitly enabled.

Advisory Timeline

  • First published October 3, 2022 (1515 days ago).
  • Last revised September 10, 2026 — 1438 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.13.4 or later
<!-- Update pom.xml dependency version to 2.13.4 for com.fasterxml.jackson.core:jackson-databind -->
Maven
Update com.fasterxml.jackson.core:jackson-databind to 2.12.7.1 or later
<!-- Update pom.xml dependency version to 2.12.7.1 for com.fasterxml.jackson.core:jackson-databind -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Maven (1).

PackageFixed In
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.13.0, 2.13.1, 2.13.2, 2.13.2.1 (+2 more)2.13.4
com.fasterxml.jackson.core:jackson-databind Maven · Affected: 2.10.0, 2.10.0.pr1, 2.10.0.pr2, 2.10.0.pr3 (+130 more)2.12.7.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-400
    Uncontrolled Resource ConsumptionMITRE
  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Frequently Asked Questions

What is CVE-2022-42004?
Uncontrolled Resource Consumption in FasterXML jackson-databind. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
How do I check if my project is affected by CVE-2022-42004?
CVE-2022-42004 affects com.fasterxml.jackson.core:jackson-databind. It has a 3.4% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-42004 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.5

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
3.41%
EPSS percentile: 89.7

This places it in the top quartile of EPSS-scored vulnerabilities — 89.7% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.

Also Known As

GHSA-rgv9-q543-rqg4

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml