CVE-2024-7254
September 19, 2024
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 Packages
com.google.protobuf:protobuf-kotlin (JAVA):
Affected version(s) >=3.17.0-rc-2 <3.25.5Fix Suggestion:
Update to version 3.25.5com.google.protobuf:protobuf-java (JAVA):
Affected version(s) >=2.0.1 <3.25.5Fix Suggestion:
Update to version 3.25.5com.google.protobuf:protobuf-kotlin-lite (JAVA):
Affected version(s) >=4.28.0-RC1 <4.28.2Fix Suggestion:
Update to version 4.28.2com.google.protobuf:protobuf-kotlin (JAVA):
Affected version(s) >=4.28.0-RC1 <4.28.2Fix Suggestion:
Update to version 4.28.2com.google.protobuf:protobuf-java (JAVA):
Affected version(s) >=4.28.0-RC1 <4.28.2Fix Suggestion:
Update to version 4.28.2com.google.protobuf:protobuf-javalite (JAVA):
Affected version(s) >=4.0.0-rc-1 <4.27.5Fix Suggestion:
Update to version 4.27.5com.google.protobuf:protobuf-kotlin (JAVA):
Affected version(s) >=4.26.0-RC1 <4.27.5Fix Suggestion:
Update to version 4.27.5com.google.protobuf:protobuf-java (JAVA):
Affected version(s) >=4.0.0-rc-1 <4.27.5Fix Suggestion:
Update to version 4.27.5com.google.protobuf:protobuf-kotlin-lite (JAVA):
Affected version(s) >=3.17.0-rc-2 <3.25.5Fix Suggestion:
Update to version 3.25.5com.google.protobuf:protobuf-kotlin-lite (JAVA):
Affected version(s) >=4.26.0-RC1 <4.27.5Fix Suggestion:
Update to version 4.27.5com.google.protobuf:protobuf-javalite (JAVA):
Affected version(s) >=4.28.0-RC1 <4.28.2Fix Suggestion:
Update to version 4.28.2com.google.protobuf:protobuf-javalite (JAVA):
Affected version(s) >=3.8.0-rc-1 <3.25.5Fix Suggestion:
Update to version 3.25.5google-protobuf (RUBY):
Affected version(s) >=4.28.0.rc.1 <4.28.2Fix Suggestion:
Update to version 4.28.2google-protobuf (RUBY):
Affected version(s) >=3.0.0.alpha.1.0 <3.25.5Fix Suggestion:
Update to version 3.25.5google-protobuf (RUBY):
Affected version(s) >=4.0.0.rc.1 <4.27.5Fix Suggestion:
Update to version 4.27.5Related Resources (14)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.08