CVE-2024-7254

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 Software

VendorProductVersion RangeStatus
GoogleProtocol Buffers0 < 28.2affected
Googleprotobuf-java0 < 3.25.5affected
Googleprotobuf-java0 < 4.27.5affected
Googleprotobuf-java0 < 4.28.2affected
Googleprotobuf-javalite0 < 3.25.5affected
Googleprotobuf-javalite0 < 4.27.5affected
Googleprotobuf-javalite0 < 4.28.2affected
Googleprotobuf-kotlin0 < 3.25.5affected
Googleprotobuf-kotlin0 < 4.27.5affected
Googleprotobuf-kotlin0 < 4.28.2affected
Googleprotobuf-kotllin-lite0 < 3.25.5affected
Googleprotobuf-kotllin-lite0 < 4.27.5affected
Googleprotobuf-kotllin-lite0 < 4.28.2affected
Googlegoogle-protobuf [JRuby Gem]0 < 3.25.5affected
Googlegoogle-protobuf [JRuby Gem]0 < 4.27.5affected
Googlegoogle-protobuf [JRuby Gem]0 < 4.28.2affected

Weaknesses

  • CWE-400: CWE-400 Uncontrolled Resource Consumption
  • CWE-674: CWE-674 Uncontrolled Recursion

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: yes
    • Technical Impact: partial

CVE Program Container

Additional References

References