cbor2 is vulnerable to Uncontrolled Recursion
65
CVE Score
Medium
Uncontrolled Recursion
cbor2.loads() can produce a cyclic CBORTag, and encoding that object with cbor2.dumps() can recursively overflow the native stack and terminate the process with SIGSEGV. The issue remains reproducible in the target release according to the advisory. The supplied release diff addresses tag hashing, comparison, and representation, but does not describe an encoder-side guard.
Upgrade the cbor2 library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and pass a cyclic CBORTag produced from untrusted CBOR to cbor2.dumps().
6.2.0 - 6.2.1
Fixed in 6.3.0cbor2 is vulnerable to Uncontrolled Recursion in versions 6.2.0 - 6.2.1.
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.