CVE-2018-6342

CRITICALCVSS 9.8/10EPSS 2.84%

Last modified

CVE-2018-6342 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 2.84% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
2.84%

84.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
FacebookReact-Dev-Utils>= 1.0.0, < 1.0.4
FacebookReact-Dev-Utils>= 2.0.0, < 2.0.2
FacebookReact-Dev-Utils>= 3.0.0, < 3.1.2
FacebookReact-Dev-Utils>= 4.0.0, < 4.2.2
FacebookReact-Dev-Utils>= 5.0.0, < 5.0.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2018-6342?
CVE-2018-6342 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 2.84% probability of exploitation in the next 30 days.
How do I fix CVE-2018-6342?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-6342?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST