Intel

AIKIDO-2024-10059

cbor2 is vulnerable to Insufficient Resource Pool

Insufficient Resource Pool Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 26, 2024

50

Medium Risk

This Affects:

pythoncbor2
1.0.0 - 5.5.1
Fixed in 5.6.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to an insufficient resource pool, triggered by a MemoryError when decoding large definite strings. Exploiting this flaw could lead to a system crash and makes your system vulnerable to Denial of Service (DoS) attacks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

cbor2 is vulnerable to Insufficient Resource Pool in versions 1.0.0 - 5.5.1.

How to fix this

Upgrade the cbor2 library to the patch version.