CVE-2018-6342 react-dev-utils on Windows vulnerable to Remote Code Execution
CriticalCVSS 9.8
EPSS 2.8%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm react-dev-utils(npm) | >= 1.0.0, < 1.0.4 | 1.0.4 |
| npm react-dev-utils(npm) | >= 2.0.0, < 2.0.2 | 2.0.2 |
| npm react-dev-utils(npm) | >= 3.0.0, < 3.1.2 | 3.1.2 |
| npm react-dev-utils(npm) | >= 4.0.0, < 4.2.2 | 4.2.2 |
| npm react-dev-utils(npm) | >= 5.0.0, < 5.0.2 | 5.0.2 |
| facebook react-dev-utils | >= 1.0.0, < 1.0.4 | 1.0.4 |
| facebook react-dev-utils | >= 2.0.0, < 2.0.2 | 2.0.2 |
| facebook react-dev-utils | >= 3.0.0, < 3.1.2 | 3.1.2 |
| facebook react-dev-utils | >= 4.0.0, < 4.2.2 | 4.2.2 |
| facebook react-dev-utils | >= 5.0.0, < 5.0.2 | 5.0.2 |
| facebook react-dev-utils | = 5.0.2 | No fix listed |
| facebook react-dev-utils | >= 5.0.0 | No fix listed |
| facebook react-dev-utils | = 4.2.2 | No fix listed |
| facebook react-dev-utils | >= 4.0.0 | No fix listed |
| facebook react-dev-utils | = 3.1.2 | No fix listed |
| facebook react-dev-utils | >= 3.0.0 | No fix listed |
| facebook react-dev-utils | = 2.0.2 | No fix listed |
| facebook react-dev-utils | >= 2.0.0 | No fix listed |
| facebook react-dev-utils | = 1.0.4 | No fix listed |
| facebook react-dev-utils | >= 1.0.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory
- github.com patch third-party-advisory
- github.com
- www.npmjs.com
- github.com release-notes third-party-advisory