CWE
78 352
Advisory Published
Updated

CVE-2018-6342: OS Command Injection

First published: Mon Dec 31 2018(Updated: )

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.

Credit: cve-assign@fb.com

Affected SoftwareAffected VersionHow to fix
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
Microsoft Windows

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-6342?

    CVE-2018-6342 is a vulnerability in react-dev-utils on Windows that allows an attacker to launch an editor by sending a network request to the server.

  • How severe is CVE-2018-6342?

    CVE-2018-6342 has a severity rating of 9.8 (critical).

  • What software is affected by CVE-2018-6342?

    React-dev-utils versions 1.0.0 to 1.0.4, 2.0.0 to 2.0.2, 3.0.0 to 3.1.2, 4.0.0 to 4.2.2, and 5.0.0 to 5.0.2 on Windows are affected by CVE-2018-6342.

  • How can an attacker exploit CVE-2018-6342?

    An attacker can exploit CVE-2018-6342 by making a network request to the server hosting react-dev-utils.

  • How can I fix CVE-2018-6342?

    To fix CVE-2018-6342, update react-dev-utils to version 1.1.5 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203