Description
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.
Remediation
References
https://lists.apache.org/thread/ob2ks04zl5ms0r44cd74y1xdl1rzfd1r
Related Vulnerabilities
CVE-2020-13941 Vulnerability in maven package org.apache.solr:solr-core
CVE-2020-2186 Vulnerability in maven package org.jenkins-ci.plugins:ec2
CVE-2022-25647 Vulnerability in maven package com.google.code.gson:gson
CVE-2022-41642 Vulnerability in npm package nadesiko3
CVE-2021-25329 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core