← CVE Intelligence

CVE-2024-7254

Stack overflow in Protocol Buffers Java Lite PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Google / Protocol Buffersaffected 0 before 28.2
Google / protobuf-javaaffected 0 before 3.25.5; affected 0 before 4.27.5; affected 0 before 4.28.2
Google / protobuf-javaliteaffected 0 before 3.25.5; affected 0 before 4.27.5; affected 0 before 4.28.2
Google / protobuf-kotlinaffected 0 before 3.25.5; affected 0 before 4.27.5; affected 0 before 4.28.2
Google / protobuf-kotllin-liteaffected 0 before 3.25.5; affected 0 before 4.27.5; affected 0 before 4.28.2
Google / google-protobuf [JRuby Gem]affected 0 before 3.25.5; affected 0 before 4.27.5; affected 0 before 4.28.2

CWE

CWE-400, CWE-674

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.