Critical severity · published Dec 31, 2018
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
9.8
CVSS
2.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.8% · higher than 87% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
React-dev-utils · Facebook
1.0.0 before 1.0.4; 2.0.0 before 2.0.2; 3.0.0 before 3.1.2; 4.0.0 before 4.2.2; 5.0.0 before 5.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-6342
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-6342
Third Party Advisory
https://github.com/facebook/create-react-app/pull/4866
Release Notes
https://github.com/facebook/create-react-app/releases/tag/v1.1.5
More from React-dev-utils
5.6
CVE-2021-24033
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
