GHSA-hw3m-8h25-8frw

Suggest an improvement
Source
https://github.com/advisories/GHSA-hw3m-8h25-8frw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-hw3m-8h25-8frw/GHSA-hw3m-8h25-8frw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hw3m-8h25-8frw
Aliases
Published
2022-01-08T00:42:59Z
Modified
2024-12-04T05:35:38.514924Z
Summary
Command Injection in Apache Kylin
Details

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.

Database specific
{
    "nvd_published_at": "2022-01-06T13:15:00Z",
    "cwe_ids": [
        "CWE-77"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-01-07T22:48:38Z"
}
References

Affected packages

Maven / org.apache.kylin:kylin

Package

Name
org.apache.kylin:kylin
View open source insights on deps.dev
Purl
pkg:maven/org.apache.kylin/kylin

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
4.0.1

Affected versions

0.*

0.7.1-incubating
0.7.2-incubating

1.*

1.0-incubating
1.1-incubating
1.1.1-incubating
1.2
1.3.0
1.5.0
1.5.1
1.5.2
1.5.2.1
1.5.3
1.5.4
1.5.4.1
1.6.0

2.*

2.0.0
2.1.0
2.2.0
2.3.0
2.3.1
2.3.2
2.4.0
2.4.1
2.5.0
2.5.1
2.5.2
2.6.0
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6

3.*

3.0.0-alpha
3.0.0-alpha2
3.0.0
3.0.1
3.0.2
3.1.0
3.1.1
3.1.2
3.1.3

4.*

4.0.0-alpha
4.0.0-beta
4.0.0