Buffer overflow in Agronholm Cbor2
CVE-2024-26134
cbor2 provides encoding and decoding for the Concise Binary Object Representation (CBOR) (RFC 8949) serialization format. Starting in version 5.5.1 and prior to version 5.6.2, an attacker can crash a service using cbor2 to parse a CBOR binary by sending a long enough object. Version 5.6.2 contains a patch for this issue.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.012, 67.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Agronholm Cbor2 — versions >= 5.5.1, < 5.6.2
- Fedoraproject Fedora — versions 38, 39, 40
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- https://github.com/agronholm/cbor2/security/advisories/GHSA-375g-39jq-vq7m (Exploit, Vendor Advisory)
- https://github.com/agronholm/cbor2/pull/204 (Issue Tracking)
- https://github.com/agronholm/cbor2/commit/387755eacf0be35591a478d3c67fe10618a6d542 (Product)
- https://github.com/agronholm/cbor2/commit/4de6991ba29bf2290d7b9d83525eda7d021873df (Patch)
- https://github.com/agronholm/cbor2/releases/tag/5.6.2 (Release Notes)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Mailing List)