{"id":"CVE-2021-38294","published":"2021-10-25T12:22:36Z","modified":"2024-08-04T01:37:16Z","title":"Shell Command Injection Vulnerability in Nimbus Thrift Server","vendor":"Apache Software Foundation","product":"Apache Storm","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":[">= v1.0.0, < Apache Storm*"]},{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":[">= Apache Storm, < v1.2.4"]}],"fixedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":["v2.1.1","v2.2.1","v2.3.0"]}],"workarounds":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T03:45:52Z"},"cvss":null,"epss":{"score":0.83805,"percentile":0.99696,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3E","tags":["x_refsource_MISC"]},{"url":"https://seclists.org/oss-sec/2021/q4/44","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.storm:storm","vulnerableRanges":[">=2.2.0, <2.2.1",">=2.0.0, <2.1.1",">=1.0.0, <1.2.4"],"patched":["2.2.1","2.1.1","1.2.4"],"from":["GHSA-6768-mcjc-8223"],"provenance":"source"}],"advisories":[{"id":"GHSA-6768-mcjc-8223","url":"https://github.com/advisories/GHSA-6768-mcjc-8223","severity":"CRITICAL","ecosystem":"Maven","package":"org.apache.storm:storm","vulnerableRanges":[">=2.2.0, <2.2.1"],"patched":["2.2.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-6768-mcjc-8223","url":"https://github.com/advisories/GHSA-6768-mcjc-8223","severity":"CRITICAL","ecosystem":"Maven","package":"org.apache.storm:storm","vulnerableRanges":[">=2.0.0, <2.1.1"],"patched":["2.1.1"],"provenance":"source","from":"GHSA"},{"id":"GHSA-6768-mcjc-8223","url":"https://github.com/advisories/GHSA-6768-mcjc-8223","severity":"CRITICAL","ecosystem":"Maven","package":"org.apache.storm:storm","vulnerableRanges":[">=1.0.0, <1.2.4"],"patched":["1.2.4"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-2167","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-2167","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"metasploit":[{"name":"Apache Storm Nimbus getTopologyHistory Unauthenticated Command Execution","module":"exploit/linux/misc/nimbus_gettopologyhistory_cmd_exec","type":"exploit","disclosureDate":"2021-10-25","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/misc/nimbus_gettopologyhistory_cmd_exec.rb"}],"first":{"date":"2021-10-25","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/misc/nimbus_gettopologyhistory_cmd_exec.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html"],"flow":[],"timeline":[{"date":"2021-10-25","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-38294","provenance":"source"},{"date":"2021-10-25","kind":"exploit-public","label":"First public exploit: Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/misc/nimbus_gettopologyhistory_cmd_exec.rb","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.94,"detail":"percentile 0.9970"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD exploit link; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}