CVE-2021-38294 — Vulnerability in org.apache.storm:storm — CVE Details
Command injection leading to Remote Code Execution in Apache Storm
What Should I Do?
Fix in Your Next Sprint
This vulnerability has a 83.80% chance of being exploited within 30 days.
Does your project use an affected org.apache.storm:storm version?
Paste your pom.xml to check it for CVE-2021-38294 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
A Command Injection vulnerability exists in the getTopologyHistory service of the Apache Storm 2.x prior to 2.2.1 and Apache Storm 1.x prior to 1.2.4. A specially crafted thrift request to the Nimbus server allows Remote Code Execution (RCE) prior to authentication.
Advisory Timeline
- First published October 27, 2021 (1856 days ago).
- Last revised November 8, 2023 — 741 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.2.1 for org.apache.storm:storm -->
<!-- Update pom.xml dependency version to 2.1.1 for org.apache.storm:storm -->
<!-- Update pom.xml dependency version to 1.2.4 for org.apache.storm:storm -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (3)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.storm:storm Maven · Affected: 2.2.0 | 2.2.1 |
| org.apache.storm:storm Maven · Affected: 2.0.0, 2.1.0 | 2.1.1 |
| org.apache.storm:storm Maven · Affected: 1.0.0, 1.0.1, 1.0.2, 1.0.3 (+11 more) | 1.2.4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-74
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-38294ADVISORY
- https://github.com/apache/stormPACKAGE
- https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3EWEB
- https://seclists.org/oss-sec/2021/q4/44WEB
- https://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.htmlWEB
Frequently Asked Questions
- What is CVE-2021-38294?
- Command injection leading to Remote Code Execution in Apache Storm. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2021-38294?
- CVE-2021-38294 affects org.apache.storm:storm. It has a 83.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-38294 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 5% of EPSS-scored vulnerabilities — 99.8% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2021-40865CRITICAL
Deserialization of Untrusted Data leading to Remote Code Execution in Apache Storm
- CVE-2026-35337HIGH
Apache Storm: Deserialization of Untrusted Data vulnerability