{"schemaVersion":3,"id":"CVE-2021-38294","aliases":["GHSA-6768-mcjc-8223"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-10-25T12:22:36.000Z","modified":"2024-08-04T01:37:16.384Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.83805,"percentile":0.99689,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":-0.6840000000000068,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.84489},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.83805,"percentile":0.99689}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.84489,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.83805,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.83805,"percentile":0.99689}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_526FC8E786133EB8","name":"Exploit Reference (packetstormsecurity.com)","source":"reference","url":"http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_MISC_NIMBUS_GETTOPOLOGYHISTORY_CMD_EXEC","name":"Apache Storm Nimbus getTopologyHistory Unauthenticated Command Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/misc/nimbus_gettopologyhistory_cmd_exec.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/misc/nimbus_gettopologyhistory_cmd_exec","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["ioc-in-logs","artifacts-on-disk"],"reliability":["repeatable-session"]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"},{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"apache software foundation","product":"apache storm","name":"Apache Storm","label":"apache storm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ v1.0.0, < Apache Storm*","noFixRecorded":false,"fixedIn":null},{"text":"≥ Apache Storm, < v1.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ v1.0.0, < Apache Storm* | ≥ Apache Storm, < v1.2.4","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_storm"},{"vendor":"apache","product":"storm","name":"storm","label":"storm","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.0.0, < 1.2.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1.0, < 2.1.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.0.0, < 1.2.4 | ≥ 2.1.0, < 2.1.1 | ≥ 2.2.0, < 2.2.1","eol":null,"hubHref":"/vendor/apache/storm"},{"vendor":"org.apache.storm","product":"storm","name":"org.apache.storm:storm","label":"storm","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.storm/storm","purlType":"maven","versions":[{"text":"≥ 2.2.0, < 2.2.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.1.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.0.0, < 1.2.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.2.0, < 2.2.1 | ≥ 2.0.0, < 2.1.1 | ≥ 1.0.0, < 1.2.4","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://lists.apache.org/thread.html/r5fe881f6ca883908b7a0f005d35115af49f43beea7a8b0915e377859%40%3Cuser.storm.apache.org%3E","label":"lists.apache.org/thread.html/…","hostname":"lists.apache.org","tags":["X Refsource MISC","WEB","Mailing List","Vendor Advisory"]},{"url":"https://seclists.org/oss-sec/2021/q4/44","label":"seclists.org/oss-sec/2021/q4/44","hostname":"seclists.org","tags":["X Refsource MISC","WEB","Mailing List","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html","label":"packetstormsecurity.com/files/165019/Apache-Storm-Nimbus-2.2.0-Command-Execution.html","hostname":"packetstormsecurity.com","tags":["X Refsource MISC","WEB","Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38294","label":"nvd.nist.gov/vuln/detail/CVE-2021-38294","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/storm","label":"github.com/apache/storm","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-10-25T12:22:36.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T01:37:16.384Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:41:21.810Z","stale":false,"partial":false}}