RCE in Facebook React-Dev-Utils

CVE-2018-6342

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.028 (85.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-6342?
CVE-2018-6342 is a critical-severity vulnerability in Facebook React-Dev-Utils, classified under OS Command Injection. CVSS score: 9.8/10. Published 2018-12-31.
How severe is CVE-2018-6342?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2018-6342 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.