Unbounded recursion in Python Protobuf
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.25.8, 5.29.5, 6.31.1
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recursive messages or a series of SGROUP tags can be corrupted by exceeding the Python recursion limit. This can result in a Denial of service by crashing the application with a RecursionError. We recommend upgrading to version =>6.31.1 or beyond commit 17838beda2943d08b8a9d4df5b68f5f04f26d901
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- protobuf
fixed in 4.25.8; fixed in 5.29.5; fixed in 6.31.1
- protocolbuffers Python-Protobuf
fixed in 4.25.8; fixed in 5.29.5; fixed in 6.31.1
- protobufPyPI
fixed in 4.25.8; From 5.26.0rc1 · fixed in 5.29.5; From 6.30.0rc1 · fixed in 6.31.1
- protobufPyPI
fixed in 4.25.8
- protobufPyPI
From 5.26.0rc1 · fixed in 5.29.5
- protobufPyPI
From 6.30.0rc1 · fixed in 6.31.1