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
https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf
http://www.openwall.com/lists/oss-security/2022/01/06/1
Related Vulnerabilities
CVE-2021-21343 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2020-13445 Vulnerability in maven package com.liferay:com.liferay.portal.template.freemarker
CVE-2022-40084 Vulnerability in maven package org.opencrx:opencrx-core
CVE-2020-11991 Vulnerability in maven package org.apache.cocoon:cocoon-core
CVE-2023-44487 Vulnerability in maven package org.eclipse.jetty.http2:http2-common