cbor2 is vulnerable to Uncontrolled Recursion
53
CVE Score
Medium
Uncontrolled Recursion
cbor2.dumps() recursively traverses deeply nested Python containers and can exhaust the native stack. Encoding a sufficiently deep object terminates the Python process with SIGSEGV instead of raising a catchable exception. The available compact advisory reports the issue on the dumps() path; it does not describe the remediation mechanism.
Upgrade the cbor2 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and encode deeply nested objects with cbor2.dumps().
6.1.4 - 6.2.0
Fixed in 6.2.1cbor2 is vulnerable to Uncontrolled Recursion in versions 6.1.4 - 6.2.0.
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.