CVE-2024-7254

High

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.

SeverityHigh
CVSS7.5
Exploit probability86. percentile2.8%
ProductGoogle Protobuf
PublishedSep 19, 2024
First seenSep 19, 2024

How to fix

Update
  • google protobuf3.25.5, 4.27.5, 4.28.2 or later
  • google protobuf-java3.25.5, 4.27.5, 4.28.2 or later
  • google protobuf-javalite3.25.5, 4.27.5, 4.28.2 or later
  • google protobuf-kotlin3.25.5, 4.27.5, 4.28.2 or later
  • google protobuf-kotlin-lite3.25.5, 4.27.5 or later
  • com.google.protobuf:protobuf-java3.25.5, 4.27.5, 4.28.2 or later
  • com.google.protobuf:protobuf-javalite3.25.5, 4.27.5, 4.28.2 or later
  • com.google.protobuf:protobuf-kotlin3.25.5, 4.27.5, 4.28.2 or later
  • com.google.protobuf:protobuf-kotlin-lite3.25.5, 4.27.5, 4.28.2 or later
  • google-protobuf3.25.5, 4.27.5, 4.28.2 or later

Affected products

ProductAffected versionsFixed in
google protobufv < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
google protobuf-javav < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
google protobuf-javalitev < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
google protobuf-kotlinv < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
google protobuf-kotlin-litev < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v ≤ 4.28.23.25.5, 4.27.5
netapp active_iq_unified_managerNo range specified—
netapp bluexpNo range specified—
netapp ontap_tools10—
com.google.protobuf:protobuf-javaMavenv < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
com.google.protobuf:protobuf-javaliteMavenv < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
com.google.protobuf:protobuf-kotlinMavenv < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
com.google.protobuf:protobuf-kotlin-liteMavenv < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2
google-protobufRubyGemsv < 3.25.5, 4.0.0.rc.1 ≤ v < 4.27.5, 4.28.0.rc.1 ≤ v < 4.28.23.25.5, 4.27.5, 4.28.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.