Patchfirst
CVE-2021-38294 Public exploit EPSS 83.8%

Shell Command Injection Vulnerability in Nimbus Thrift Server

Fix:upgrade storm to 2.2.1 or later also fixes CVE-2021-40865 Details ↓

Apache Software Foundation · Apache Storm

Summary

A command injection flaw exists in the getTopologyHistory service of Apache Storm (the 2.x line prior to 2.2.1 and the 1.x line prior to 1.2.4), where the Nimbus server handles Thrift requests. A specially crafted Thrift request sent to the Nimbus server can achieve remote code execution before authentication, with no user interaction or prior credentials required.

Official description · CVE.org

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.

Breakdown
24.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0

Affected versions and fixes

as published in the CVE record

Apache Software Foundation Apache Storm

Affected: >= Apache Storm, < v1.2.4

Not affected: v2.1.1 · v2.2.1 · v2.3.0

Workaround

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

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.storm:storm.

Mavenorg.apache.storm:stormGHSA-6768-mcjc-8223

Upgrade to 2.2.1 or later

Fixes this CVE and 1 other known vulnerability in this package (CVE-2021-40865).

Set the version to 2.2.1 or later in your pom.xml or build.gradle.

The first fix for CVE-2021-38294.

Affected versions, by release line

If you runUpgrade to
2.2.0 up to 2.2.12.2.1
2.0.0 up to 2.1.12.1.1
1.0.0 up to 1.2.41.2.4

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close