Stack overflow in Protocol Buffers Java Lite
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in Protobuf 4.28.2, Protobuf 4.27.5, Protobuf 3.25.5 and 10 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Protobuf | <4.28.2, <4.27.5, <3.25.5 | 4.28.2, 4.27.5, 3.25.5 | |
| Protocol Buffers | <28.2 | 28.2 | |
| google-protobuf [JRuby Gem] | <3.25.5, <4.27.5, <4.28.2 | 3.25.5, 4.27.5, 4.28.2 | |
| protobuf-java | <4.28.2, <4.27.5, <3.25.5 | 4.28.2, 4.27.5, 3.25.5 | |
| protobuf-kotlin | <4.27.5, <4.28.2, <3.25.5 | 4.27.5, 4.28.2, 3.25.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Google, strongest first
Embed
A live severity badge for an advisory, README or ticket