@react-native-community/cli-server-api@17.0.1 vulnerabilities

  • latest version

    20.0.2

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    1 months ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @react-native-community/cli-server-api package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    Command Injection

    Affected versions of this package are vulnerable to Command Injection via the url variable processing in openURLMiddleware.ts. An attacker can execute arbitrary system commands by sending crafted HTTP POST requests, if the Metro development server is in use. This server binds to all interfaces, exposing the application to remote connections.

    Note: Only applications developed without a Framework are vulnerable, and code execution has only been demonstrated on Windows.

    How to fix Command Injection?

    Upgrade @react-native-community/cli-server-api to version 20.0.0 or higher.

    >=17.0.0 <20.0.0