Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.fasterxml.jackson.core/jackson-databind
  4. ›
  5. CVE-2022-42004

CVE-2022-42004: Uncontrolled Resource Consumption in FasterXML jackson-databind

October 3, 2022 (updated December 2, 2024)

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.

References

  • bugs.chromium.org/p/oss-fuzz/issues/detail?id=50490
  • github.com/FasterXML/jackson-databind
  • github.com/FasterXML/jackson-databind/commit/063183589218fec19a9293ed2f17ec53ea80ba88
  • github.com/FasterXML/jackson-databind/commit/35de19e7144c4df8ab178b800ba86e80c3d84252
  • github.com/FasterXML/jackson-databind/commit/cd090979b7ea78c75e4de8a4aed04f7e9fa8deea
  • github.com/FasterXML/jackson-databind/issues/3582
  • github.com/advisories/GHSA-rgv9-q543-rqg4
  • lists.debian.org/debian-lts-announce/2022/11/msg00035.html
  • nvd.nist.gov/vuln/detail/CVE-2022-42004
  • security.gentoo.org/glsa/202210-21
  • security.netapp.com/advisory/ntap-20221118-0008
  • www.debian.org/security/2022/dsa-5283

Code Behaviors & Features

Detect and mitigate CVE-2022-42004 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.12.7.1, all versions starting from 2.13.0 before 2.13.4

Fixed versions

  • 2.12.7.1
  • 2.13.4

Solution

Upgrade to versions 2.12.7.1, 2.13.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption
  • CWE-502: Deserialization of Untrusted Data

Source file

maven/com.fasterxml.jackson.core/jackson-databind/CVE-2022-42004.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:40 +0000.