{"id":"CVE-2021-45456","published":"2022-01-06T12:35:21Z","modified":"2024-08-04T04:39:21Z","title":"Command injection","vendor":"Apache Software Foundation","product":"Apache Kylin","tier":"core","eol":null,"affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Kylin","versions":["Apache Kylin 4 4.0.0"]}],"workarounds":{"items":["Users of Kylin 4.0.0 should upgrade to 4.0.1 or apply patch https://github.com/apache/kylin/pull/1781."],"from":"CVE.org CNA","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"Apache Kylin's DiagnosisService contains a command injection flaw, where the project name checked for legitimacy differs from the value later passed as a shell command argument. An attacker who can supply a crafted project name that passes validation can cause arbitrary shell commands to be executed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:23:13Z"},"cvss":null,"epss":{"score":0.88887,"percentile":0.99782,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/06/1","tags":["mailing-list","x_refsource_MLIST"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.apache.kylin:kylin","vulnerableRanges":["<4.0.1"],"patched":["4.0.1"],"from":["GHSA-hw3m-8h25-8frw"],"provenance":"source"}],"advisories":[{"id":"GHSA-hw3m-8h25-8frw","url":"https://github.com/advisories/GHSA-hw3m-8h25-8frw","severity":"MODERATE","ecosystem":"Maven","package":"org.apache.kylin:kylin","vulnerableRanges":["<4.0.1"],"patched":["4.0.1"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2022-0621","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-0621","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2022-01-06","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-45456","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":20.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.96,"detail":"percentile 0.9978"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-apache-kylin-cve-2021-45456","children":[{"from":"CVE-2021-45456","to":"CVE-2022-44621","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["core-common/src/main/java/org/apache/kylin/common/KylinConfigBase.java"],"commits":["https://github.com/apache/kylin/commit/f4daf14dde99b934c92ce2c832509f24342bc845","https://github.com/apache/kylin/commit/418a63c61379d429312972fc94b87994e06b664f","https://github.com/apache/kylin/commit/fd2977e21c51f1afed668f2d9713cf562f2dc42d"],"basis":"rarely changed file"}]}]}}