CVEvulnerability
CVE-2018-6342
9.8 CRITICAL
Official page ↗
- Status
- Modified
- Published
- 2018-12-31
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 10.0 HIGH — AV:N/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-78
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 configurations
• facebook react-dev-utils (>= 1.0.0 < 1.0.4)
• facebook react-dev-utils (>= 2.0.0 < 2.0.2)
• facebook react-dev-utils (>= 3.0.0 < 3.1.2)
• facebook react-dev-utils (>= 4.0.0 < 4.2.2)
• facebook react-dev-utils (>= 5.0.0 < 5.0.2)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/facebook/create-react-app/pull/4866 Third Party Advisory
- https://github.com/facebook/create-react-app/releases/tag/v1.1.5 Release Notes, Third Party Advisory
- https://github.com/facebook/create-react-app/pull/4866 Third Party Advisory
- https://github.com/facebook/create-react-app/releases/tag/v1.1.5 Release Notes, Third Party Advisory