CVE-2018-6342

State
Published
Severity
9.8 Critical
Published
Dec 31, 2018
Updated
May 6, 2025
Reserved
Jan 26, 2018

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCISA-ADP

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command (CWE-78)

Affected Products

ProductVersions
react-dev-utilsFacebook
  • 5.0.2Affected
  • 5.0.0 to before unspecifiedAffected
  • 4.2.2Affected
  • 4.0.0 to before unspecifiedAffected
  • 3.1.2Affected
  • 3.0.0 to before unspecifiedAffected
  • 2.0.2Affected
  • 2.0.0 to before unspecifiedAffected
  • 1.0.4Affected
  • 1.0.0 to before unspecifiedAffected
  • before 1.0.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.