Arbitrary Code Execution Affecting react-dev-utils package, versions >=1.0.0 <1.0.4 >=2.0.0 <2.0.2 >=3.0.0 <3.1.2 >=4.0.0 <4.2.2 >=5.0.0 <5.0.2


0.0
high

Snyk CVSS

    Attack Complexity High
    User Interaction Required
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 0.19% (56th percentile)
Expand this section
NVD
9.8 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-REACTDEVUTILS-72875
  • published 2 Jan 2019
  • disclosed 22 Aug 2018
  • credit Andrew Clark

How to fix?

Upgrade react-dev-utils to version 1.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2 or higher.

Overview

react-dev-utils includes some utilities used by Create React App.

Affected versions of this package are vulnerable to Arbitrary Code Execution. On Windows, developers are allowed to run a local webserver for accepting various commands, including a command to launch an editor. The input to that command was not properly sanitized, allowing an attacker who can make a network request to the server (either via CSRF or by direct request) to execute arbitrary commands on the targeted system.