CVE-2019-1010260

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-1010260
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-1010260.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-1010260
Aliases
Published
2019-04-02T15:29:00Z
Modified
2024-09-03T02:21:41.617027Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Git / github.com/pinterest/ktlint

Affected ranges

Type
GIT
Repo
https://github.com/pinterest/ktlint
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.10.0
0.10.1
0.10.2
0.11.0
0.11.1
0.12.0
0.12.1
0.13.0
0.14.0
0.15.0
0.15.1
0.16.0
0.16.1
0.17.0
0.17.1
0.18.0
0.19.0
0.2.0
0.2.1
0.2.2
0.20.0
0.21.0
0.22.0
0.23.0
0.23.1
0.24.0
0.25.0
0.25.1
0.26.0
0.27.0
0.28.0
0.29.0
0.3.0
0.3.1
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.6.2
0.7.0
0.7.1
0.8.0
0.8.1
0.8.2
0.8.3
0.9.0
0.9.1
0.9.2