GHSA-5q6m-3h65-w53x

    Dashboard / Vulnerabilities / GHSA-5q6m-3h65-w53x

    GHSA-5q6m-3h65-w53x

    Published: 11 Mar 2021Last Modified: 8 Nov 2023

    Summary: react-dev-utils OS Command Injection in function `getProcessForPort`

    Details: react-dev-utils prior to v11.0.4 exposes a function, `getProcessForPort`, where an input argument is concatenated into a command string to be executed. This function is typically used from react-scripts (in Create React App projects), where the usage is safe. Only when this function is manually invoked with user-provided values (ie: by custom code) is there the potential for command injection. If you're consuming it from react-scripts then this issue does not affect you.

    Affected packages

    Package

    Name: react-dev-utils

    Purl: pkg:npm/react-dev-utils

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.4.0
    Fixed -11.0.4

    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-5q6m-3h65-w53x | CVE-DB