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

CVE-2021-46877: jackson-databind possible Denial of Service if using JDK serialization to serialize JsonNode

March 19, 2023 (updated February 26, 2025)

jackson-databind 2.10.x through 2.12.x before 2.12.6 and 2.13.x before 2.13.1 allows attackers to cause a denial of service (2 GB transient heap usage per read) in uncommon situations involving JsonNode JDK serialization.

References

  • github.com/FasterXML/jackson-databind
  • github.com/FasterXML/jackson-databind/commit/3ccde7d938fea547e598fdefe9a82cff37fed5cb
  • github.com/FasterXML/jackson-databind/issues/3328
  • github.com/FasterXML/jackson/wiki/Jackson-Release-2.12.6
  • github.com/FasterXML/jackson/wiki/Jackson-Release-2.13.1
  • github.com/advisories/GHSA-3x8x-79m2-3w2w
  • groups.google.com/g/jackson-user/c/OsBsirPM_Vw
  • nvd.nist.gov/vuln/detail/CVE-2021-46877

Code Behaviors & Features

Detect and mitigate CVE-2021-46877 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 starting from 2.10.0 before 2.12.6, all versions starting from 2.13.0 before 2.13.1

Fixed versions

  • 2.12.6
  • 2.13.1

Solution

Upgrade to versions 2.12.6, 2.13.1 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-770: Allocation of Resources Without Limits or Throttling

Source file

maven/com.fasterxml.jackson.core/jackson-databind/CVE-2021-46877.yml

Spotted a mistake? Edit the file on GitLab.

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

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