скеName Overflow Vulnerability in Protocol Buffers
CVE-2024-7254
Currently unrated
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)
google-protobuf [JRuby Gem] 0 < 3.25.5
google-protobuf [JRuby Gem] 0 < 4.27.5
google-protobuf [JRuby Gem] 0 < 4.28.2
References
Timeline
Vulnerability published
Collectors
NVD DatabaseMitre Database
Credit
Alexis Challande, Trail of Bits Ecosystem Security Team <[email protected]>