WaratekVRT Sign in

CVE-2021-40865 Apache Storm

Affected softwareApache Storm
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in2.2.1, 1.2.4, 2.1.1
WeaknessDeserialization of untrusted data (CWE-502)
Published25 Oct 2021
Updated17 Jun 2026

Description

An Unsafe Deserialization vulnerability exists in the worker services of the Apache Storm supervisor server allowing pre-auth Remote Code Execution (RCE). Apache Storm 2.2.x users should upgrade to version 2.2.1 or 2.3.0. Apache Storm 2.1.x users should upgrade to version 2.1.1. Apache Storm 1.x users should upgrade to version 1.2.4

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists 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 GitHub PoC; first seen 2021-11-26.
  • EPSS 64% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
IndexArtifactStarsFirst seen
GitHub PoC CVE-2021-40865 14 2021-11-26

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 deserialization 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-502: Deserialization of Untrusted Data.

How to mitigate CVE-2021-40865

Upgrade Apache Storm to a release that fixes it: 2.2.1, 1.2.4 or 2.1.1. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. 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 1.0.0 1.2.4 unbounded
org.apache.storm:storm 2.1.0 2.1.1 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.1.0 and < 2.1.1 · ≥ 2.2.0 and < 2.2.1

References

URLTags
https://lists.apache.org/thread.html/r8d45e74299897b6734dd0f788c46a631009ce2eeb731523386f7a253%40%3Cuser.storm.apache.org%3E WEB
https://seclists.org/oss-sec/2021/q4/45 WEB

Timeline

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