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

Source: https://junglewise.ai/threats/cve-2021-46877-jackson-databind-possible-denial-of-service-if-using-jdk  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-03-19  
License: CC BY 4.0 with a link back

CVE-2021-46877 · Severity: low · CVSS 3.1 · Published 2023-03-19

jackson-databind possible Denial of Service if using JDK serialization to serialize JsonNode

Technologies: [com.fasterxml.jackson.core:jackson-databind (Maven)](https://junglewise.ai/threats/technologies/com-fasterxml-jackson-core-jackson-databind). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-46877 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-46877 being exploited in the wild.

**How severe is CVE-2021-46877?** Low severity, with a CVSS score of 3.1, published 19 March 2023.

**Which products and versions are affected?** com.fasterxml.jackson.core:jackson-databind (Maven) ECOSYSTEM:introduced=2.10.0,fixed=2.12.6.

**Is there a fix for CVE-2021-46877?** Yes. com.fasterxml.jackson.core:jackson-databind (Maven): upgrade to 2.12.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-46877?** Check whether you run com.fasterxml.jackson.core:jackson-databind (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- com.fasterxml.jackson.core:jackson-databind (Maven): upgrade to 2.12.6 or later

  ```sh
  # set com.fasterxml.jackson.core:jackson-databind to 2.12.6 in your pom.xml or build.gradle
  ```


## Affected products

- com.fasterxml.jackson.core:jackson-databind (Maven) ECOSYSTEM:introduced=2.10.0,fixed=2.12.6

## Identifiers

- CVE-2021-46877
- GHSA-3x8x-79m2-3w2w

## Related threats

- [jackson-databind quadratic complexity in forward-reference resolution](https://junglewise.ai/threats/cve-2026-91777-jackson-databind-quadratic-forward-reference-completion)
- [FasterXML Jackson Databind unbounded cache growth on unknown type IDs](https://junglewise.ai/threats/cve-2026-91776-jackson-databind-retains-every-unknown-raw-type-id)
- [FasterXML jackson-databind quadratic parse in XML datatype deserialization](https://junglewise.ai/threats/cve-2026-68497-fasterxml-jackson-databind-quadratic-parse-in-xml-datatype)
- [FasterXML Jackson Databind unsafe polymorphic type deserialization](https://junglewise.ai/threats/cve-2026-83557-fasterxml-jackson-databind-unsafe-polymorphic-type)
- [FasterXML jackson-databind Path deserialization URI scheme injection](https://junglewise.ai/threats/cve-2026-19032-fasterxml-jackson-databind-path-deserialization-uri-scheme)
