Skip to main content
← All vulnerabilities
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
published
Not listed in CISA KEV
Fix
Fixed in 0.30.0
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

  1. CVE published
  2. Record last updated

Affected versions

  • ktlint ktlint

    Version range not reported

  • com.github.shyiko.ktlint:ktlint-coreMaven

    fixed in 0.30.0

References 1

GitHub · shyiko/ktlint