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.
References
Configurations

Configuration 1 (hide)

AND
OR cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*

History

25 Mar 2021, 16:44

Type Values Removed Values Added
References (MISC) https://github.com/facebook/create-react-app/pull/4866 - Patch, Third Party Advisory (MISC) https://github.com/facebook/create-react-app/pull/4866 - Third Party Advisory
CPE cpe:2.3:a:create-react-app_project:react-dev-utils:*:*:*:*:*:*:*:* cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
CWE CWE-352 CWE-78
CVSS v2 : 9.3
v3 : 8.8
v2 : 10.0
v3 : 9.8

Information

Published : 2018-12-31 22:29

Updated : 2023-12-10 12:44


NVD link : CVE-2018-6342

Mitre link : CVE-2018-6342

CVE.ORG link : CVE-2018-6342


JSON object : View

Products Affected

facebook

  • react-dev-utils

microsoft

  • windows
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')