CVE-2019-1010260GHSA-R8H9-HQ9C-2P5C
Using ktlint to download and execute custom rulesets can result in arbitrary code execution as the served jars can be compromised by a MITM.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.30.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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.
Timeline
- CVE published
- Record last updated
Affected versions
- ktlint ktlint
Version range not reported
- com.github.shyiko.ktlint:ktlint-coreMaven
fixed in 0.30.0