{"id":"CVE-2021-38294","state":"PUBLISHED","title":"Shell Command Injection Vulnerability in Nimbus Thrift Server","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.","publishedAt":"2021-10-25T12:22:36.000Z","updatedAt":"2024-08-04T01:37:16.384Z","severity":null,"assigner":"apache","products":["Apache Software Foundation Apache Storm"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":[{"version":"v1.0.0","status":"affected","lessThan":"Apache Storm*","versionType":"custom"}],"platforms":["Non-Windows"]},{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":[{"version":"Apache Storm","status":"affected","lessThan":"v1.2.4","changes":[{"at":"v2.1.1","status":"unaffected"},{"at":"v2.2.1","status":"unaffected"},{"at":"v2.3.0","status":"unaffected"}],"versionType":"custom"}]}],"references":["https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3E","https://seclists.org/oss-sec/2021/q4/44","http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T19:48:49.871Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/38xxx/CVE-2021-38294.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-38294","state":"PUBLISHED","datePublished":"2021-10-25T12:22:36.000Z","dateUpdated":"2024-08-04T01:37:16.384Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2021-08-09T00:00:00.000Z"},"containers":{"cna":{"title":"Shell Command Injection Vulnerability in Nimbus Thrift Server","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":[{"version":"v1.0.0","status":"affected","lessThan":"Apache Storm*","versionType":"custom"}],"platforms":["Non-Windows"]},{"vendor":"Apache Software Foundation","product":"Apache Storm","versions":[{"version":"Apache Storm","status":"affected","lessThan":"v1.2.4","changes":[{"at":"v2.1.1","status":"unaffected"},{"at":"v2.2.1","status":"unaffected"},{"at":"v2.3.0","status":"unaffected"}],"versionType":"custom"}]}],"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"]}],"metrics":[{"other":{"content":{"other":"high"},"type":"unknown"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","description":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","dateUpdated":"2021-11-19T18:06:14.000Z","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09"},"credits":[{"lang":"en","value":"Apache Storm would like to thank @pwntester Alvaro Muñoz of the GitHub Security Lab team for reporting this issue."}],"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Apache Storm 2.2.x users should upgrade to version 2.2.1 or 2.3.0\nApache Storm 2.1.x users should upgrade to version 2.1.1\nApache Storm 1.x users should upgrade to version 1.2.4"}],"x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@apache.org","ID":"CVE-2021-38294","STATE":"PUBLIC","TITLE":"Shell Command Injection Vulnerability in Nimbus Thrift Server"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Apache Storm","version":{"version_data":[{"platform":"Non-Windows","version_affected":">=","version_name":"Apache Storm","version_value":"v1.0.0"},{"version_affected":"<","version_name":"Apache Storm","version_value":"v1.2.4"},{"version_affected":"<","version_name":"Apache Storm","version_value":"v2.1.1"},{"version_affected":"<","version_name":"Apache Storm","version_value":"v2.2.1"},{"version_affected":"<","version_name":"Apache Storm","version_value":"v2.3.0"}]}}]},"vendor_name":"Apache Software Foundation"}]}},"credit":[{"lang":"eng","value":"Apache Storm would like to thank @pwntester Alvaro Muñoz of the GitHub Security Lab team for reporting this issue."}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":[{"other":"high"}],"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')"}]}]},"references":{"reference_data":[{"name":"https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3E","refsource":"MISC","url":"https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3E"},{"name":"https://seclists.org/oss-sec/2021/q4/44","refsource":"MISC","url":"https://seclists.org/oss-sec/2021/q4/44"},{"name":"http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html"}]},"source":{"discovery":"UNKNOWN"},"work_around":[{"lang":"en","value":"Apache Storm 2.2.x users should upgrade to version 2.2.1 or 2.3.0\nApache Storm 2.1.x users should upgrade to version 2.1.1\nApache Storm 1.x users should upgrade to version 1.2.4"}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3E","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://seclists.org/oss-sec/2021/q4/44","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T01:37:16.384Z"}}]}}}