CVE-2024-7254
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.
How to fix
- 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
| Product | Affected versions | Fixed in |
|---|---|---|
| google protobuf | v < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| google protobuf-java | v < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| google protobuf-javalite | v < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| google protobuf-kotlin | v < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| google protobuf-kotlin-lite | v < 3.25.5, 4.0.0 ≤ v < 4.27.5, 4.28.0 ≤ v ≤ 4.28.2 | 3.25.5, 4.27.5 |
| netapp active_iq_unified_manager | No range specified | — |
| netapp bluexp | No range specified | — |
| netapp ontap_tools | 10 | — |
| com.google.protobuf:protobuf-javaMaven | v < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| com.google.protobuf:protobuf-javaliteMaven | v < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| com.google.protobuf:protobuf-kotlinMaven | v < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| com.google.protobuf:protobuf-kotlin-liteMaven | v < 3.25.5, 4.0.0-RC1 ≤ v < 4.27.5, 4.28.0-RC1 ≤ v < 4.28.2 | 3.25.5, 4.27.5, 4.28.2 |
| google-protobufRubyGems | v < 3.25.5, 4.0.0.rc.1 ≤ v < 4.27.5, 4.28.0.rc.1 ≤ v < 4.28.2 | 3.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.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.