CVE-2018-6342
react-dev-utils on Windows vulnerable to Remote Code Execution
Overview
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.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-78
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | react-dev-utils | >=1.0.0, <1.0.4>=2.0.0, <2.0.2>=3.0.0, <3.1.2>=4.0.0, <4.2.2>=5.0.0, <5.0.2 | 1.0.42.0.23.1.24.2.25.0.2 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/advisories/GHSA-29gp-92wp-94q8
- github.com https://github.com/facebook/create-react-app
- github.com https://github.com/facebook/create-react-app/pull/4866
- github.com https://github.com/facebook/create-react-app/releases/tag/v1.1.5
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2018-6342
- www.npmjs.com https://www.npmjs.com/advisories/695
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.