{
    "containers": {
        "cna": {
            "affected": [
                {
                    "platforms": [
                        "Non-Windows"
                    ],
                    "product": "Apache Storm",
                    "vendor": "Apache Software Foundation",
                    "versions": [
                        {
                            "lessThan": "Apache Storm*",
                            "status": "affected",
                            "version": "v1.0.0",
                            "versionType": "custom"
                        }
                    ]
                },
                {
                    "product": "Apache Storm",
                    "vendor": "Apache Software Foundation",
                    "versions": [
                        {
                            "changes": [
                                {
                                    "at": "v2.1.1",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "v2.2.1",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "v2.3.0",
                                    "status": "unaffected"
                                }
                            ],
                            "lessThan": "v1.2.4",
                            "status": "affected",
                            "version": "Apache Storm",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Apache Storm would like to thank @pwntester Alvaro Muñoz of the GitHub Security Lab team for reporting this issue."
                }
            ],
            "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."
                }
            ],
            "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": {
                "dateUpdated": "2021-11-19T18:06:14",
                "orgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
                "shortName": "apache"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "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"
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "title": "Shell Command Injection Vulnerability in Nimbus Thrift Server",
            "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": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T01:37:16.384Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "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"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "f0158376-9dc2-43b6-827c-5f631a4d8d09",
        "assignerShortName": "apache",
        "cveId": "CVE-2021-38294",
        "datePublished": "2021-10-25T12:22:36",
        "dateReserved": "2021-08-09T00:00:00",
        "dateUpdated": "2024-08-04T01:37:16.384Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}