CVE-2024-7254

Stack overflow in Protocol Buffers Java Lite

Published Sep 19, 2024 CVSS 4.0 · 8.7 High EPSS 2.8% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2741 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.
Github GHSA Github GHSA GHSA-735f-pc8j-v9w8 protobuf-java has potential Denial of Service issue
Ubuntu USN Ubuntu USN USN-7435-1 Protocol Buffers vulnerability
Ubuntu USN Ubuntu USN USN-7629-1 Protocol Buffers vulnerabilities
Ubuntu USN Ubuntu USN USN-7629-2 Protocol Buffers vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-400
CWE-674
Type Values Removed Values Added
CPEs cpe:2.3:a:google:protobuf-java:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-java:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-java:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-javalite:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-javalite:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-javalite:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin-lite:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin-lite:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin-lite:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf:28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf:3.25.5:*:*:*:*:ruby:*:*
cpe:2.3:a:google:protobuf:4.27.5:*:*:*:*:ruby:*:*
cpe:2.3:a:google:protobuf:4.28.2:*:*:*:*:ruby:*:*
cpe:2.3:a:google:protobuf:*:*:*:*:*:ruby:*:*
Type Values Removed Values Added
First Time appeared Netapp
Netapp active Iq Unified Manager
Netapp bluexp
Netapp ontap Tools
Weaknesses CWE-787
CPEs cpe:2.3:a:google:protobuf-java:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-java:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-java:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-javalite:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-javalite:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-javalite:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin-lite:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin-lite:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin-lite:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin:3.25.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin:4.27.5:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin:4.28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf:28.2:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf:3.25.5:*:*:*:*:ruby:*:*
cpe:2.3:a:google:protobuf:4.27.5:*:*:*:*:ruby:*:*
cpe:2.3:a:google:protobuf:4.28.2:*:*:*:*:ruby:*:*
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:*
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*
cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*
cpe:2.3:a:netapp:bluexp:-:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:*
Vendors & Products Netapp
Netapp active Iq Unified Manager
Netapp bluexp
Netapp ontap Tools
Type Values Removed Values Added
Metrics epss

{'score': 0.00127}

epss

{'score': 0.00124}

Type Values Removed Values Added
First Time appeared Redhat jboss Enterprise Application Platform
CPEs cpe:/a:redhat:jboss_enterprise_application_platform:8.0
Vendors & Products Redhat jboss Enterprise Application Platform
Type Values Removed Values Added
First Time appeared Redhat apache Camel Spring Boot
CPEs cpe:/a:redhat:apache_camel_spring_boot:4.4.3
cpe:/a:redhat:apache_camel_spring_boot:4.8
Vendors & Products Redhat apache Camel Spring Boot
Type Values Removed Values Added
CPEs cpe:/a:redhat:quarkus:3.8::el8
Type Values Removed Values Added
First Time appeared Redhat trusted Profile Analyzer
CPEs cpe:/a:redhat:trusted_profile_analyzer:1.2::el9
Vendors & Products Redhat trusted Profile Analyzer
Type Values Removed Values Added
First Time appeared Redhat quarkus
CPEs cpe:/a:redhat:quarkus:3.2::el8
Vendors & Products Redhat quarkus
Type Values Removed Values Added
First Time appeared Redhat amq Streams
CPEs cpe:/a:redhat:amq_streams:2
Vendors & Products Redhat amq Streams
Type Values Removed Values Added
First Time appeared Redhat
Redhat camel Quarkus
CPEs cpe:/a:redhat:camel_quarkus:3.8
Vendors & Products Redhat
Redhat camel Quarkus
Type Values Removed Values Added
First Time appeared Google
Google google-protobuf
Google protobuf
Google protobuf-java
Google protobuf-javalite
Google protobuf-kotlin
Google protobuf-kotlin-lite
CPEs cpe:2.3:a:google:google-protobuf:*:*:*:*:*:ruby:*:*
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:*
cpe:2.3:a:google:protobuf:*:*:*:*:*:*:*:*
Vendors & Products Google
Google google-protobuf
Google protobuf
Google protobuf-java
Google protobuf-javalite
Google protobuf-kotlin
Google protobuf-kotlin-lite
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
Description 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.
Title Stack overflow in Protocol Buffers Java Lite
Weaknesses CWE-20
References
Metrics cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}