GHSA-r8h9-hq9c-2p5c

Suggest an improvement
Source
https://github.com/advisories/GHSA-r8h9-hq9c-2p5c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/04/GHSA-r8h9-hq9c-2p5c/GHSA-r8h9-hq9c-2p5c.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r8h9-hq9c-2p5c
Aliases
Published
2019-04-08T15:18:54Z
Modified
2023-11-08T04:00:41.086327Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core
Details

Using ktlint to download and execute custom rulesets can result in arbitrary code execution as the served jars can be compromised by a MITM. This attack is exploitable via Man in the Middle of the HTTP connection to the artifact servers. This vulnerability appears to have been fixed in 0.30.0 and later; after commit 5e547b287d6c260d328a2cb658dbe6b7a7ff2261.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-06-16T21:54:05Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-319"
    ]
}
References

Affected packages

Maven / com.github.shyiko.ktlint:ktlint-core

Package

Name
com.github.shyiko.ktlint:ktlint-core
View open source insights on deps.dev
Purl
pkg:maven/com.github.shyiko.ktlint/ktlint-core

Affected ranges

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

Affected versions

0.*

0.2.0
0.2.1
0.2.2
0.3.0
0.3.1
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.8.1
0.8.2
0.8.3
0.9.0
0.9.1
0.9.2
0.10.0
0.10.1
0.10.2
0.11.0
0.11.1
0.12.0
0.12.1
0.13.0
0.14.0
0.15.0
0.15.1
0.16.0
0.16.1
0.17.0
0.17.1
0.18.0
0.19.0
0.20.0
0.21.0
0.22.0
0.23.0
0.23.1
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.28.0
0.29.0