GHSA-r8h9-hq9c-2p5c

    Dashboard / Vulnerabilities / GHSA-r8h9-hq9c-2p5c

    GHSA-r8h9-hq9c-2p5c

    Published: 8 Apr 2019Last Modified: 8 Nov 2023

    Summary: High severity vulnerability that affects com.github.shyiko.ktlint:ktlint-core

    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.

    Affected packages

    Package

    Name: com.github.shyiko.ktlint:ktlint-core

    Purl: pkg:maven/com.github.shyiko.ktlint/ktlint-core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.30.0

    Affected versions

    0.10.0
    0.10.1
    0.10.2

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High