CVE-2018-6342: OS Command Injection
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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2018-6342?
CVE-2018-6342 is a vulnerability in react-dev-utils on Windows that allows an attacker to launch an editor by sending a network request to the server.
How severe is CVE-2018-6342?
CVE-2018-6342 has a severity rating of 9.8 (critical).
What software is affected by CVE-2018-6342?
React-dev-utils versions 1.0.0 to 1.0.4, 2.0.0 to 2.0.2, 3.0.0 to 3.1.2, 4.0.0 to 4.2.2, and 5.0.0 to 5.0.2 on Windows are affected by CVE-2018-6342.
How can an attacker exploit CVE-2018-6342?
An attacker can exploit CVE-2018-6342 by making a network request to the server hosting react-dev-utils.
How can I fix CVE-2018-6342?
To fix CVE-2018-6342, update react-dev-utils to version 1.1.5 or higher.