CVE-2018-6342

Critical

Description

react-dev-utils on Windows allows developers 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. This issue affects multiple branches: 1.x.x prior to 1.0.4, 2.x.x prior to 2.0.2, 3.x.x prior to 3.1.2, 4.x.x prior to 4.2.2, and 5.x.x prior to 5.0.2.

SeverityCritical
CVSS9.8
Exploit probability—
ProductFacebook React-dev-utils
PublishedDec 31, 2018
First seenDec 31, 2018

How to fix

Update
  • facebook react-dev-utils1.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2 or later
  • react-dev-utils1.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2 or later

Affected products

ProductAffected versionsFixed in
facebook react-dev-utils1.0.0 ≤ v < 1.0.4, 2.0.0 ≤ v < 2.0.2, 3.0.0 ≤ v < 3.1.2, 4.0.0 ≤ v < 4.2.2, 5.0.0 ≤ v < 5.0.21.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2
react-dev-utilsnpm1.0.0 ≤ v < 1.0.4, 2.0.0 ≤ v < 2.0.2, 3.0.0 ≤ v < 3.1.2, 4.0.0 ≤ v < 4.2.2, 5.0.0 ≤ v < 5.0.21.0.4, 2.0.2, 3.1.2, 4.2.2, 5.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2018-6342 · Facebook React-dev-utils · Dark Radar