CVE-2021-38294 Apache Storm
| Affected software | Apache Storm |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 2.2.1, 2.1.1, 1.2.4 |
| Weakness | OS command injection (CWE-78) |
| Published | 25 Oct 2021 |
| Updated | 17 Jun 2026 |
Description
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.
CWE-74
Exploitation status
Working exploit published
A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC 1 indexed Published artifacts you can open, in Metasploit.
- EPSS 84% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.7% of all scored CVEs.
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| Metasploit | Apache Storm Nimbus getTopologyHistory Unauthenticated Command Execution (excellent rank) |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Process
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR command-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-78: OS Command Injection. |
How to mitigate CVE-2021-38294
Upgrade Apache Storm to a release that fixes it: 2.2.1, 2.1.1 or 1.2.4. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 7.5 | none | AV:N/AC:L/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.storm:storm |
2.2.0 | 2.2.1 |
unbounded |
org.apache.storm:storm |
2.0.0 | 2.1.1 |
unbounded |
org.apache.storm:storm |
1.0.0 | 1.2.4 |
unbounded |
References
Timeline
Timeline
| Published | 2021-10-25 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |