Patchfirst
CVE-2021-45456 EPSS 88.9%

Command injection

Fix:upgrade kylin to 4.0.3 or later also fixes CVE-2020-13937, CVE-2022-43396 Details ↓

Apache Software Foundation · Apache Kylin

Summary

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.

Official description · CVE.org

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.

Breakdown
20.0 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Disclosed on 6 Jan 2022. No public exploit code or confirmed exploitation is recorded.

2 related vulnerabilities in the same code over 12 months.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2021-45456Command injection6 Jan 2022
  2. relatedMedium

    Why these are linked:

    CVE-2022-44621Kylin: Command injection by Diagnosis Controller30 Dec 2022

Affected versions and fixes

as published in the CVE record

Apache Software Foundation Apache Kylin

Affected: Apache Kylin 4 4.0.0

Workaround

Users of Kylin 4.0.0 should upgrade to 4.0.1 or apply patch https://github.com/apache/kylin/pull/1781.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.apache.kylin:kylin.

Mavenorg.apache.kylin:kylinGHSA-hw3m-8h25-8frw

Upgrade to 4.0.3 or later

Fixes this CVE and 2 other known vulnerabilities in this package (CVE-2020-13937, CVE-2022-43396).

Set the version to 4.0.3 or later in your pom.xml or build.gradle.

First fixed in 4.0.1 for CVE-2021-45456.

Affected versions

If you runUpgrade to
All versions before 4.0.14.0.3first fix for this CVE: 4.0.1

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close