Vulnerabilities · 2018 · Facebook
CVE-2018-6342
Facebook React-dev-utils vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
React-dev-utils. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Facebook React-dev-utils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/facebook/create-react-app/pull/4866 · Third Party Advisory
- github.com/facebook/create-react-app/releases/tag/v1.1.5 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-6342
- cve.org/CVERecord?id=CVE-2018-6342
More vulnerabilities in Facebook products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.