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.
Remediation
References
https://github.com/facebook/create-react-app/pull/4866
https://github.com/facebook/create-react-app/releases/tag/v1.1.5
Related Vulnerabilities
CVE-2017-16193 Vulnerability in npm package mfrs
CVE-2020-2282 Vulnerability in maven package org.jenkins-ci.plugins:implied-labels
CVE-2021-23445 Vulnerability in npm package datatables.net
CVE-2016-10574 Vulnerability in npm package apk-parser3
CVE-2023-40037 Vulnerability in maven package org.apache.nifi:nifi-dbcp-base