{"cve":"CVE-2021-24033","nvd":{"published":"2021-03-09T01:15:13.433","modified":"2026-06-17T03:39:11.750","status":"Modified","description":"react-dev-utils prior to v11.0.4 exposes a function, getProcessForPort, where an input argument is concatenated into a command string to be executed. This function is typically used from react-scripts (in Create React App projects), where the usage is safe. Only when this function is manually invoked with user-provided values (ie: by custom code) is there the potential for command injection. If you're consuming it from react-scripts then this issue does not affect you.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","score":5.6},"cwes":["CWE-78"],"references":["https://github.com/facebook/create-react-app/pull/10644","https://www.facebook.com/security/advisories/cve-2021-24033","https://github.com/facebook/create-react-app/pull/10644","https://www.facebook.com/security/advisories/cve-2021-24033"],"products":["facebook:react-dev-utils"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-24033","score":0.03289,"percentile":0.88482,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5q6m-3h65-w53x","url":"https://osv.dev/vulnerability/GHSA-5q6m-3h65-w53x","summary":"react-dev-utils OS Command Injection in function `getProcessForPort`","modified":"2023-11-08T04:05:14.230118Z","packages":[{"ecosystem":"npm","name":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[">=0.4.0 <11.0.4"],"fixed":["11.0.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}