Vulnerability Details : CVE-2018-6342
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 category: Cross-site request forgery (CSRF)
Products affected by CVE-2018-6342
- cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
- cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2018-6342
0.79%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 72 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2018-6342
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
10.0
|
HIGH | AV:N/AC:L/Au:N/C:C/I:C/A:C |
10.0
|
10.0
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-05-06 |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2018-6342
-
The product 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.Assigned by:
- cve-assign@fb.com (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2018-6342
-
https://github.com/facebook/create-react-app/releases/tag/v1.1.5
Release v1.1.5 · facebook/create-react-app · GitHubRelease Notes;Third Party Advisory
-
https://github.com/facebook/create-react-app/pull/4866
Use file name whitelist to prevent RCE by acdlite · Pull Request #4866 · facebook/create-react-app · GitHubThird Party Advisory
Jump to