GitHub Advisoryadvisory · Maven

GHSA-r8h9-hq9c-2p5c High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core

HIGH Published 2019-04-08 Modified 2021-09-17 Official page ↗
Aliases
CVE-2019-1010260
Ecosystem
Maven
Packages
com.github.shyiko.ktlint:ktlint-core
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-319
Reviewed
2020-06-16

Affected packages

• Maven com.github.shyiko.ktlint:ktlint-core: < 0.30.0 → fixed in 0.30.0

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.

Related

Alias · CVE (1)

  • CVE-2019-1010260 Using ktlint to download and execute custom rulesets can result in arbitrary code execution as the served jars can be compromised by a MITM. vulnerability

Weakness · CWE (1)

  • CWE-319 Cleartext Transmission of Sensitive Information weakness

References