Description
Apache kylin checks the legitimacy of the project before executing some commands with the project name passed in by the user. There is a mismatch between what is being checked and what is being used as the shell command argument in DiagnosisService. This may cause an illegal project name to pass the check and perform the following steps, resulting in a command injection vulnerability. This issue affects Apache Kylin 4.0.0.
Remediation
References
http://www.openwall.com/lists/oss-security/2022/01/06/1
https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf
Related Vulnerabilities
CVE-2019-1003071 Vulnerability in maven package hudson.plugins.octopusdeploy:octopusdeploy
CVE-2019-16777 Vulnerability in maven package org.webjars.bower:npm
CVE-2019-11002 Vulnerability in maven package org.webjars.npm:materialize-css
CVE-2019-0214 Vulnerability in maven package org.apache.archiva:archiva
CVE-2022-40929 Vulnerability in maven package com.xuxueli:xxl-job-core