In the fix for CVE-2022-24697, a blacklist is used to filter user input commands. But there is a risk of being bypassed. The user can control the command by controlling the kylin.engine.spark-cmd parameter of conf.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "Apache Kylin 4"
},
{
"last_affected": "4.0.2"
}
],
"source": "AFFECTED_FIELD"
}
],
"cna_assigner": "apache",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/43xxx/CVE-2022-43396.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "4.0.3"
}
],
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:apache:kylin:*:*:*:*:*:*:*:*"
}