CVE-2019-1010260 json
High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core
published 7y ago modified 4mo ago also GHSA-r8h9-hq9c-2p5c , EUVD-2019-0433
- cvss
- 8.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven com.github.shyiko.ktlint:ktlint-core 0.30.0
- ktlint_project ktlint 0.30.0
- github.com/shyiko/ktlint#332 pull request
Is CVE-2019-1010260 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.48% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/shyiko/ktlint/pull/332 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
| GitHub | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.github.shyiko.ktlint:ktlint-core | <0.30.0 |
0.30.0 |
Affected products
- ktlint ktlint
Classification
- Weakness
-
- CWE-319 Cleartext Transmission of Sensitive Information
References
-
github.com
/shyiko/ktlint/pull/332
web, exploit, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-1010260
advisory
-
github.com
/advisories/GHSA-r8h9-hq9c-2p5c
advisory
-
github.com
/shyiko/ktlint
package
Sources
- CVE List CVE-2019-1010260
- GitHub Advisory GHSA-r8h9-hq9c-2p5c
- NVD CVE-2019-1010260
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.