GHSA-fc42-h7q4-qp8h

    Dashboard / Vulnerabilities / GHSA-fc42-h7q4-qp8h

    GHSA-fc42-h7q4-qp8h

    Published: 13 Apr 2021Last Modified: 8 Jul 2026

    Summary: Command Injection in killport

    Details: This affects the package killport before 1.0.2. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization. Running this PoC will cause the command touch success to be executed, leading to the creation of a file called success.

    Affected packages

    Package

    Name: killport

    Purl: pkg:npm/killport

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.0.2

    Affected versions

    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
    GHSA-fc42-h7q4-qp8h | CVE-DB