{
    "CVE_data_meta": {
        "ASSIGNER": "security@apache.org",
        "ID": "CVE-2022-24697",
        "STATE": "PUBLIC",
        "TITLE": "Apache Kylin prior to 4.0.2 allows command injection when the configuration overwrites function overwrites system parameters"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Apache Kylin",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "Apache Kylin 2",
                                            "version_value": "2.6.6"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "Apache Kylin 3",
                                            "version_value": "3.1.2"
                                        },
                                        {
                                            "version_affected": "<=",
                                            "version_name": "Apache Kylin 4",
                                            "version_value": "4.0.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "Apache Software Foundation"
                }
            ]
        }
    },
    "credit": [
        {
            "lang": "eng",
            "value": "Kylin Team would like to thanks Kai Zhao of ToTU Secruity Team."
        }
    ],
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Kylin's cube designer function has a command injection vulnerability when overwriting system parameters in the configuration overwrites menu. RCE can be implemented by closing the single quotation marks around the parameter value of \u201c-- conf=\u201d to inject any operating system command into the command line parameters. This vulnerability affects Kylin 2 version 2.6.5 and earlier, Kylin 3 version 3.1.2 and earlier, and Kylin 4 version 4.0.1 and earlier."
            }
        ]
    },
    "generator": {
        "engine": "Vulnogram 0.0.9"
    },
    "impact": [
        {
            "other": "important"
        }
    ],
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "Command injection"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "url": "https://lists.apache.org/thread/07mnn9c7o314wrhrwjr10w9j5s82voj4",
                "name": "https://lists.apache.org/thread/07mnn9c7o314wrhrwjr10w9j5s82voj4"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20221230 CVE-2022-43396: Apache Kylin: Command injection by Useless configuration",
                "url": "http://www.openwall.com/lists/oss-security/2022/12/30/1"
            }
        ]
    },
    "source": {
        "discovery": "UNKNOWN"
    },
    "work_around": [
        {
            "lang": "eng",
            "value": "Users of Kylin 2.x & Kylin 3.x & 4.x should upgrade to 4.0.2 or apply patch https://github.com/apache/kylin/pull/1811 ."
        }
    ]
}