CVE-2019-1010260
HIGH 8.1CVSS 3.0High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core
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.
- Published
- 2 Apr 2019
- Last modified
- 17 Jun 2026
- Assigned by
- josh@bress.net
- NVD status
- Modified
- Weakness
- CWE-319
- Also known as
- GHSA-r8h9-hq9c-2p5c
- Sources
- NVDJSONOSV GHSA-r8h9-hq9c-2p5cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ktlint_project | ktlintcpe:2.3:a:ktlint_project:ktlint:*:*:*:*:*:*:*:* |
< 0.30.0 | 0.30.0 |
| OSV | Maven | com.github.shyiko.ktlint:ktlint-core | < 0.30.0 | 0.30.0 |
References
- https://github.com/shyiko/ktlint/pull/332 · Exploit, Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-1010260 · ADVISORY
- https://github.com/advisories/GHSA-r8h9-hq9c-2p5c · ADVISORY
- https://github.com/shyiko/ktlint · PACKAGE
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 2 Apr 2019)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 8 Apr 2019)