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-2018-20433 Vulnerability in maven package com.mchange:c3p0
CVE-2020-35209 Vulnerability in maven package io.atomix:atomix
CVE-2020-7760 Vulnerability in npm package codemirror
CVE-2017-5646 Vulnerability in maven package org.apache.knox:gateway
CVE-2010-2076 Vulnerability in maven package org.apache.cxf:cxf-bundle