8.7
High
CVE-2024-7254 Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups / series of…
Description
Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups / series of SGROUP tags can corrupted by exceeding the stack limit i.e. StackOverflow. Parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creates unbounded recursions that can be abused by an attacker.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Protocol Buffers 28.2 | earliest → < 28.2 | 28.2 |
| protobuf-java 4.28 | earliest → < 4.28.2 | 4.28.2 |
| protobuf-java 4.27 | earliest → < 4.27.5 | 4.27.5 |
| protobuf-java 3.25 | earliest → < 3.25.5 | 3.25.5 |
| protobuf-javalite 4.28 | earliest → < 4.28.2 | 4.28.2 |
| protobuf-javalite 4.27 | earliest → < 4.27.5 | 4.27.5 |
| protobuf-javalite 3.25 | earliest → < 3.25.5 | 3.25.5 |
| protobuf-kotlin 4.28 | earliest → < 4.28.2 | 4.28.2 |
| protobuf-kotlin 4.27 | earliest → < 4.27.5 | 4.27.5 |
Show the 11 other branches Hide the 11 other branches
| Product | Affected versions | Fixed in |
|---|---|---|
| protobuf-kotlin 3.25 | earliest → < 3.25.5 | 3.25.5 |
| protobuf-kotllin-lite 4.28 | earliest → < 4.28.2 | 4.28.2 |
| protobuf-kotllin-lite 4.27 | earliest → < 4.27.5 | 4.27.5 |
| protobuf-kotllin-lite 3.25 | earliest → < 3.25.5 | 3.25.5 |
| google-protobuf [JRuby Gem] 4.28 | earliest → < 4.28.2 | 4.28.2 |
| google-protobuf [JRuby Gem] 4.27 | earliest → < 4.27.5 | 4.27.5 |
| google-protobuf [JRuby Gem] 3.25 | earliest → < 3.25.5 | 3.25.5 |
| protobuf 28.2 | earliest → < 28.2 | 28.2 |
| protobuf-kotlin-lite 4.28 | 4.28 → < 4.28.2 | 4.28.2 |
| protobuf-kotlin-lite 4.27 | 4.27 → < 4.27.5 | 4.27.5 |
| protobuf-kotlin-lite 3.25 | earliest → < 3.25.5 | 3.25.5 |