GHSA-2548-q746-x5x6

    Dashboard / Vulnerabilities / GHSA-2548-q746-x5x6

    GHSA-2548-q746-x5x6

    Published: 13 Apr 2021Last Modified: 8 Nov 2023

    Summary: Code injection in port-killer

    Details: This affects all versions of package port-killer. 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: port-killer

    Purl: pkg:npm/port-killer

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    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-2548-q746-x5x6 | CVE-DB