CVE-2018-6342 is a vulnerability in Facebook React Dev Utils
Published on December 31, 2018
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 Analysis
CVE-2018-6342 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to be critical as this vulnerability has a high impact to the confidentiality, integrity and availability of this component.
Weakness Type
What is a Shell injection Vulnerability?
The software constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
CVE-2018-6342 has been classified to as a Shell injection vulnerability or weakness.
Products Associated with CVE-2018-6342
Want to know whenever a new CVE is published for Facebook React Dev Utils? stack.watch will email you.
Affected Versions
Facebook react-dev-utils:- Version 5.0.2 is affected.
- Version 5.0.0 and below unspecified is affected.
- Version 4.2.2 is affected.
- Version 4.0.0 and below unspecified is affected.
- Version 3.1.2 is affected.
- Version 3.0.0 and below unspecified is affected.
- Version 2.0.2 is affected.
- Version 2.0.0 and below unspecified is affected.
- Version 1.0.4 is affected.
- Version 1.0.0 and below unspecified is affected.
- Version unspecified and below 1.0.0 is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.