Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. com.github.shyiko.ktlint/ktlint-core
  4. ›
  5. CVE-2019-1010260

CVE-2019-1010260: Cleartext Transmission of Sensitive Information

April 8, 2019 (updated September 17, 2021)

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

  • github.com/advisories/GHSA-r8h9-hq9c-2p5c
  • github.com/shyiko/ktlint/pull/332
  • nvd.nist.gov/vuln/detail/CVE-2019-1010260

Code Behaviors & Features

Detect and mitigate CVE-2019-1010260 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.30.0

Fixed versions

  • 0.30.0

Solution

Upgrade to version 0.30.0 or above.

Impact 8.1 HIGH

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-319: Cleartext Transmission of Sensitive Information
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/com.github.shyiko.ktlint/ktlint-core/CVE-2019-1010260.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.