Insufficient Resource Pool Affecting cbor2 package, versions [,5.6.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-CBOR2-6242783
  • published12 Feb 2024
  • disclosed1 Feb 2024
  • creditUnknown

Introduced: 1 Feb 2024

CVE NOT AVAILABLE CWE-410  (opens in a new tab)

How to fix?

Upgrade cbor2 to version 5.6.0 or higher.

Overview

cbor2 is a CBOR (de)serializer with extensive tag support

Affected versions of this package are vulnerable to Insufficient Resource Pool due to a MemoryError when decoding large definite strings. Exploiting this vulnerability could lead to a system crash.

References

CVSS Base Scores

version 3.1