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-2019-16572 Vulnerability in maven package org.jenkins-ci.plugins:weibo
CVE-2022-34169 Vulnerability in maven package xalan:xalan
CVE-2022-25179 Vulnerability in maven package org.jenkins-ci.plugins.workflow:workflow-multibranch
CVE-2020-35728 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2022-2217 Vulnerability in maven package org.webjars.npm:parse-url