CVEvulnerability
CVE-2019-1010260
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-04-02
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 8.1 HIGH — CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-319
Description
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.
Affected configurations
• ktlint project ktlint (< 0.30.0)
Related
Weakness · CWE (1)
- CWE-319 Cleartext Transmission of Sensitive Information weakness
References
- https://github.com/shyiko/ktlint/pull/332 Exploit, Patch, Third Party Advisory
- https://github.com/shyiko/ktlint/pull/332 Exploit, Patch, Third Party Advisory