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.
References
Link | Resource |
---|---|
https://github.com/shyiko/ktlint/pull/332 | Exploit Patch Third Party Advisory |
Configurations
Information
Published : 2019-04-02 08:29
Updated : 2020-08-24 10:37
NVD link : CVE-2019-1010260
Mitre link : CVE-2019-1010260
JSON object : View
CWE
CWE-319
Cleartext Transmission of Sensitive Information
Products Affected
ktlint_project
- ktlint