скеName Overflow Vulnerability in Protocol Buffers

CVE-2024-7254
Currently unrated 🤨

Key Information

Vendor
Google
Status
Protocol Buffers
Protobuf-java
Protobuf-javalite
Protobuf-kotlin
Vendor
CVE Published:
19 September 2024

Summary

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 Version(s)

Protocol Buffers < 28.2

protobuf-java < 3.25.5

protobuf-java < 4.27.5

Timeline

  • Vulnerability published.

Collectors

NVD DatabaseMitre Database

Credit

Alexis Challande, Trail of Bits Ecosystem Security Team <[email protected]>
.