WaratekVRT Sign in

CVE-2021-45456 Apache kylin

Affected softwareApache kylin
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in4.0.1
WeaknessCommand injection (CWE-77)
Published6 Jan 2022
Updated17 Jun 2026

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.

Exploitation status

Forecast only (89% 30-day chance)

No exploit has been reported in the sources we check. EPSS puts this CVE in the top 0.22% of all scored CVEs. That is a model's forecast, not a report of exploitation.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 89% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.8% of all scored CVEs.

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR command-injection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-77: Command Injection.

How to mitigate CVE-2021-45456

Upgrade Apache kylin to 4.0.1 or later. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

9.8 CRITICAL v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 7.5 none AV:N/AC:L/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.kylin:kylin 0 4.0.1 unbounded

Products and versions

2 products, 4 version entries
SourceVendorProductSchemeAffected versions
nvd apache kylin generic 4.0.0 · 4.0.0:alpha · 4.0.0:beta
osv org.apache.kylin kylin generic < 4.0.1

References

URLTags
https://github.com/apache/kylin/pull/1781 WEB
https://github.com/apache/kylin/commit/f4daf14dde99b934c92ce2c832509f24342bc845 WEB
https://github.com/apache/kylin PACKAGE
https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf WEB
http://www.openwall.com/lists/oss-security/2022/01/06/1 WEB

Timeline

Published2022-01-06By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.