cbor2 is vulnerable to Uncontrolled Resource Consumption
75
CVE Score
High
Uncontrolled Resource Consumption
CBOR maps are decoded into Python dictionaries, where bignum keys can have distinct values but identical Python hash values. Inserting many colliding keys makes dictionary construction take quadratic time and can exhaust CPU resources with a comparatively small CBOR payload. Applications that decode untrusted CBOR data are affected.
Upgrade the cbor2 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and decode untrusted CBOR data with cbor2.loads().
1.0.0 - 6.1.5
Fixed in 6.2.0cbor2 is vulnerable to Uncontrolled Resource Consumption in versions 1.0.0 - 6.1.5.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.