WaratekVRT Sign in

CVE-2021-38294 Apache Storm

Affected softwareApache Storm
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in2.2.1, 2.1.1, 1.2.4
WeaknessOS command injection (CWE-78)
Published25 Oct 2021
Updated17 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.

  • 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.
IndexArtifactStarsFirst seen
Metasploit Apache Storm Nimbus getTopologyHistory Unauthenticated Command Execution (excellent rank)

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

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.

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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
PackageIntroducedFixedLast 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

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd apache storm generic ≥ 1.0.0 and < 1.2.4 · ≥ 2.1.0 and < 2.1.1 · ≥ 2.2.0 and < 2.2.1
osv org.apache.storm storm generic ≥ 1.0.0 and < 1.2.4 · ≥ 2.0.0 and < 2.1.1 · ≥ 2.2.0 and < 2.2.1

References

URLTags
https://github.com/apache/storm PACKAGE
https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3E WEB
https://seclists.org/oss-sec/2021/q4/44 WEB
http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html WEB

Timeline

Published2021-10-25By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.