Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-45456
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:27 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-45456
Complete source record
{
"id": "6406aed387f9bdb94fbbd39bee577d147c4910a5bee0df1df1224b2579c05fd4",
"url": "https://osv.dev/vulnerability/CVE-2021-45456",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-45456",
"summary": "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.",
"evidence": "osv:CVE-2021-45456",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-45456",
"aliases": [
"CVE-2021-45456",
"GHSA-hw3m-8h25-8frw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/kylin",
"type": "GIT",
"events": [
{
"introduced": "aa6d582c0a96fdf31e85791f86850cfc00a7644f"
},
{
"last_affected": "546381392c55136310f591969e5a3f3db6074988"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:kylin:4.0.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-NA"
},
{
"last_affected": "4.0.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:kylin:4.0.0:alpha:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-alpha"
},
{
"last_affected": "4.0.0-alpha"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:apache:kylin:4.0.0:beta:*:*:*:*:*:*",
"range": [
{
"introduced": "4.0.0-beta"
},
{
"last_affected": "4.0.0-beta"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.0.0-NA",
"4.0.0-alpha",
"4.0.0-beta"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-45456.json"
}
}
],
"modified": "2026-10-24T10:30:18.457608531Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread/70fkf9w1swt2cqdcz13rwfjvblw1fcpf"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-45456",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429776,
"published_at": "2022-01-06T13:15:08.227+00:00"
}