CVE-2019-1010260

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductKtlint
PublishedApr 2, 2019
First seenApr 2, 2019

How to fix

Update
  • ktlint_project ktlint0.30.0 or later
  • com.github.shyiko.ktlint:ktlint-core0.30.0 or later

Affected products

ProductAffected versionsFixed in
ktlint_project ktlintv < 0.30.00.30.0
com.github.shyiko.ktlint:ktlint-coreMavenv < 0.30.00.30.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.