CVE-2024-7254 — Vulnerability in com.google.protobuf:protobuf-java...
protobuf-java has potential Denial of Service issue
Summary
Advisory Timeline
- First published September 19, 2024 (753 days ago).
- Last revised September 10, 2026 — 720 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.28.2 for com.google.protobuf:protobuf-java -->
<!-- Update pom.xml dependency version to 3.25.5 for com.google.protobuf:protobuf-javalite -->
gem install google-protobuf -v 4.28.2
<!-- Update pom.xml dependency version to 4.27.5 for com.google.protobuf:protobuf-java -->
<!-- Update pom.xml dependency version to 4.27.5 for com.google.protobuf:protobuf-kotlin-lite -->
<!-- Update pom.xml dependency version to 4.28.2 for com.google.protobuf:protobuf-kotlin -->
<!-- Update pom.xml dependency version to 3.25.5 for com.google.protobuf:protobuf-kotlin -->
<!-- Update pom.xml dependency version to 3.25.5 for com.google.protobuf:protobuf-kotlin-lite -->
<!-- Update pom.xml dependency version to 4.27.5 for com.google.protobuf:protobuf-kotlin -->
<!-- Update pom.xml dependency version to 4.28.2 for com.google.protobuf:protobuf-kotlin-lite -->
<!-- Update pom.xml dependency version to 4.27.5 for com.google.protobuf:protobuf-javalite -->
gem install google-protobuf -v 3.25.5
<!-- Update pom.xml dependency version to 3.25.5 for com.google.protobuf:protobuf-java -->
gem install google-protobuf -v 4.27.5
<!-- Update pom.xml dependency version to 4.28.2 for com.google.protobuf:protobuf-javalite -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (15)
Affects 2 ecosystems: maven (4), rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| com.google.protobuf:protobuf-java | maven | 4.28.0, 4.28.0-RC1, 4.28.0-RC2, 4.28.0-RC3 (+1 more) | 4.28.2 |
| com.google.protobuf:protobuf-javalite | maven | 3.10.0, 3.10.0-rc-1, 3.11.0, 3.11.0-rc-1 (+110 more) | 3.25.5 |
| google-protobuf | rubygems | 4.28.0, 4.28.0.rc.1, 4.28.0.rc.2, 4.28.0.rc.3 (+1 more) | 4.28.2 |
| com.google.protobuf:protobuf-java | maven | 4.0.0-rc-1, 4.0.0-rc-2, 4.26.0, 4.26.0-RC1 (+11 more) | 4.27.5 |
| com.google.protobuf:protobuf-kotlin-lite | maven | 4.26.0, 4.26.0-RC1, 4.26.0-RC2, 4.26.0-RC3 (+9 more) | 4.27.5 |
| com.google.protobuf:protobuf-kotlin | maven | 4.28.0, 4.28.0-RC1, 4.28.0-RC2, 4.28.0-RC3 (+1 more) | 4.28.2 |
| com.google.protobuf:protobuf-kotlin | maven | 3.17.0, 3.17.0-rc-2, 3.17.1, 3.17.2 (+67 more) | 3.25.5 |
| com.google.protobuf:protobuf-kotlin-lite | maven | 3.17.0, 3.17.0-rc-2, 3.17.1, 3.17.2 (+67 more) | 3.25.5 |
| com.google.protobuf:protobuf-kotlin | maven | 4.26.0, 4.26.0-RC1, 4.26.0-RC2, 4.26.0-RC3 (+9 more) | 4.27.5 |
| com.google.protobuf:protobuf-kotlin-lite | maven | 4.28.0, 4.28.0-RC1, 4.28.0-RC2, 4.28.0-RC3 (+1 more) | 4.28.2 |
| com.google.protobuf:protobuf-javalite | maven | 4.0.0-rc-1, 4.0.0-rc-2, 4.26.0, 4.26.0-RC1 (+11 more) | 4.27.5 |
| google-protobuf | rubygems | 3.0.0, 3.0.0.alpha.1.0, 3.0.0.alpha.1.1, 3.0.0.alpha.2.0 (+142 more) | 3.25.5 |
| com.google.protobuf:protobuf-java | maven | 2.0.1, 2.0.3, 2.1.0, 2.2.0 (+143 more) | 3.25.5 |
| google-protobuf | rubygems | 4.26.0, 4.26.0.rc.1, 4.26.0.rc.2, 4.26.0.rc.3 (+9 more) | 4.27.5 |
| com.google.protobuf:protobuf-javalite | maven | 4.28.0, 4.28.0-RC1, 4.28.0-RC2, 4.28.0-RC3 (+1 more) | 4.28.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-7254ADVISORY
- https://github.com/protocolbuffers/protobuf/commit/4728531c162f2f9e8c2ca1add713cfee2db6be3bWEB
- https://github.com/protocolbuffers/protobuf/commit/850fcce9176e2c9070614dab53537760498c926bWEB
- https://github.com/protocolbuffers/protobuf/commit/9a5f5fe752a20cbac2e722b06949ac985abdd534WEB
- https://github.com/protocolbuffers/protobuf/commit/ac9fb5b4c71b0dd80985b27684e265d1f03abf46WEB
- https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaaWEB
- https://github.com/protocolbuffers/protobuf/commit/d6c82fc55a76481c676f541a255571e8950bb8c3WEB
- https://github.com/protocolbuffers/protobufPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/google-protobuf/CVE-2024-7254.ymlWEB
- https://security.netapp.com/advisory/ntap-20241213-0010WEB
- https://security.netapp.com/advisory/ntap-20250418-0006WEB
Frequently Asked Questions
- What is CVE-2024-7254?
- protobuf-java has potential Denial of Service issue This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2024-7254?
- CVE-2024-7254 affects com.google.protobuf:protobuf-java, com.google.protobuf:protobuf-javalite and google-protobuf (and 2 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-7254 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2015-5237HIGH
protobuf susceptible to buffer overflow
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API
- CVE-2021-22569HIGH
A potential Denial of Service issue in protobuf-java
- CVE-2022-3171MEDIUM
protobuf-java has a potential Denial of Service issue
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies