CVE-2024-7254
HIGH 8.7CVSS 4.0protobuf-java has potential Denial of Service issue
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.
- Published
- 19 Sep 2024
- Last modified
- 10 Sep 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-400CWE-787
- Also known as
- GHSA-735f-pc8j-v9w8
- Sources
- NVDJSONOSV GHSA-735f-pc8j-v9w8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobufcpe:2.3:a:google:protobuf:*:*:*:*:*:ruby:*:* |
< 3.25.5 | 3.25.5 | |
| NVD | protobufcpe:2.3:a:google:protobuf:*:*:*:*:*:ruby:*:* |
>= 4.0.0, < 4.27.5 | 4.27.5 | |
| NVD | protobufcpe:2.3:a:google:protobuf:*:*:*:*:*:ruby:*:* |
>= 4.28.0, < 4.28.2 | 4.28.2 | |
| NVD | protobuf-javacpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:* |
< 3.25.5 | 3.25.5 | |
| NVD | protobuf-javacpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.27.5 | 4.27.5 | |
| NVD | protobuf-javacpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:* |
>= 4.28.0, < 4.28.2 | 4.28.2 | |
| NVD | protobuf-javalitecpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:* |
< 3.25.5 | 3.25.5 | |
| NVD | protobuf-javalitecpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.27.5 | 4.27.5 | |
| NVD | protobuf-javalitecpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:* |
>= 4.28.0, < 4.28.2 | 4.28.2 | |
| NVD | protobuf-kotlincpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:* |
< 3.25.5 | 3.25.5 | |
| NVD | protobuf-kotlincpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.27.5 | 4.27.5 | |
| NVD | protobuf-kotlincpe:2.3:a:google:protobuf-kotlin:*:*:*:*:*:*:*:* |
>= 4.28.0, < 4.28.2 | 4.28.2 | |
| NVD | protobuf-kotlin-litecpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:* |
< 3.25.5 | 3.25.5 | |
| NVD | protobuf-kotlin-litecpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.27.5 | 4.27.5 | |
| NVD | protobuf-kotlin-litecpe:2.3:a:google:protobuf-kotlin-lite:*:*:*:*:*:*:*:* |
>= 4.28.0, <= 4.28.2 | ||
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:linux:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:* |
(no version) | |
| NVD | netapp | active_iq_unified_managercpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:* |
(no version) | |
| NVD | netapp | bluexpcpe:2.3:a:netapp:bluexp:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | ontap_toolscpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:* |
= 10 | |
| OSV | Maven | com.google.protobuf:protobuf-java | < 3.25.5 | 3.25.5 |
| OSV | Maven | com.google.protobuf:protobuf-javalite | < 3.25.5 | 3.25.5 |
| OSV | Maven | com.google.protobuf:protobuf-kotlin | < 3.25.5 | 3.25.5 |
| OSV | Maven | com.google.protobuf:protobuf-kotlin-lite | < 3.25.5 | 3.25.5 |
| OSV | RubyGems | google-protobuf | < 3.25.5 | 3.25.5 |
| OSV | RubyGems | google-protobuf | >= 4.0.0.rc.1, < 4.27.5 | 4.27.5 |
| OSV | RubyGems | google-protobuf | >= 4.28.0.rc.1, < 4.28.2 | 4.28.2 |
| OSV | Maven | com.google.protobuf:protobuf-kotlin-lite | >= 4.0.0-RC1, < 4.27.5 | 4.27.5 |
| OSV | Maven | com.google.protobuf:protobuf-kotlin-lite | >= 4.28.0-RC1, < 4.28.2 | 4.28.2 |
| OSV | Maven | com.google.protobuf:protobuf-kotlin | >= 4.0.0-RC1, < 4.27.5 | 4.27.5 |
| OSV | Maven | com.google.protobuf:protobuf-kotlin | >= 4.28.0-RC1, < 4.28.2 | 4.28.2 |
| OSV | Maven | com.google.protobuf:protobuf-javalite | >= 4.0.0-RC1, < 4.27.5 | 4.27.5 |
| OSV | Maven | com.google.protobuf:protobuf-javalite | >= 4.28.0-RC1, < 4.28.2 | 4.28.2 |
| OSV | Maven | com.google.protobuf:protobuf-java | >= 4.0.0-RC1, < 4.27.5 | 4.27.5 |
| OSV | Maven | com.google.protobuf:protobuf-java | >= 4.28.0-RC1, < 4.28.2 | 4.28.2 |
References
- https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa · Patch, WEB
- https://security.netapp.com/advisory/ntap-20241213-0010/ · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20250418-0006/ · Third Party Advisory, WEB
- https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-7254 · ADVISORY
- https://github.com/protocolbuffers/protobuf/commit/4728531c162f2f9e8c2ca1add713cfee2db6be3b · WEB
- https://github.com/protocolbuffers/protobuf/commit/850fcce9176e2c9070614dab53537760498c926b · WEB
- https://github.com/protocolbuffers/protobuf/commit/9a5f5fe752a20cbac2e722b06949ac985abdd534 · WEB
- https://github.com/protocolbuffers/protobuf/commit/ac9fb5b4c71b0dd80985b27684e265d1f03abf46 · WEB
- https://github.com/protocolbuffers/protobuf/commit/d6c82fc55a76481c676f541a255571e8950bb8c3 · WEB
- https://github.com/protocolbuffers/protobuf · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/google-protobuf/CVE-2024-7254.yml · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 19 Sep 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 19 Sep 2024)