{"id":"CVE-2021-24033","aliases":["CLSA-2026-1793203729","EUVD-2021-0612","GHSA-5q6m-3h65-w53x"],"status":"published","title":"react-dev-utils OS Command Injection in function `getProcessForPort`","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.","severity":{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.03289,"percentile":0.88656,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2021-03-09T00:25:13Z","modified":"2026-10-28T19:45:10Z","fixes":[{"ecosystem":"npm","package":"react-dev-utils","fixed_in":["11.0.4"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.4.0"},{"fixed":"11.0.4"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.3-tuxcare.0"},{"fixed":"4.2.3-tuxcare.1"}]}],"versions":["4.2.3"],"bundled":2},{"source":"osv","ecosystem":"npm","package":"react-dev-utils","ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"11.0.4"}]}]}],"products":[{"vendor":"facebook","product":"react-dev-utils"}],"references":[{"url":"https://github.com/facebook/create-react-app/pull/10644","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://www.facebook.com/security/advisories/cve-2021-24033","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24033","tags":["advisory"]},{"url":"https://github.com/facebook/create-react-app/commit/f5e415f3a5b66f07dcc60aba1b445fa7cda97268","tags":["web"]},{"url":"https://www.huntr.dev/bounties/1-npm-react-dev-utils/"},{"url":"https://github.com/advisories/GHSA-5q6m-3h65-w53x"},{"url":"https://github.com/facebook/create-react-app","tags":["package"]},{"url":"https://www.huntr.dev/bounties/1-npm-react-dev-utils","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2021-24033","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.","status":"published","published":"2021-03-09T00:25:13Z","modified":"2024-08-03T19:21:17.286Z","cwes":["CWE-78"],"updated_at":"2026-11-02T14:33:05.000797Z"}],"euvd":[{"id":"EUVD-2021-0612","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.","status":"published","published":"2021-03-09T00:25:13Z","modified":"2024-08-03T19:21:17Z","updated_at":"2026-11-03T03:24:59.661237Z"}],"ghsa":[{"id":"GHSA-5q6m-3h65-w53x","title":"react-dev-utils OS Command Injection in function `getProcessForPort`","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.","status":"published","published":"2021-03-11T22:26:09Z","modified":"2023-01-27T05:02:39Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:36:19.144959Z"}],"nvd":[{"id":"CVE-2021-24033","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.","status":"published","published":"2021-03-09T01:15:13.433Z","modified":"2026-06-17T03:39:11.75Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:06:50.399901Z"}],"osv":[{"id":"GHSA-5q6m-3h65-w53x","title":"react-dev-utils OS Command Injection in function `getProcessForPort`","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.","status":"published","published":"2021-03-11T22:26:09Z","modified":"2023-11-08T04:05:14.230118Z","cvss":[{"version":"3.1","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:38.553953Z"},{"id":"CLSA-2026-1793203729","title":"TuxCare security update for react-dev-utils (2 CVEs)","description":"TuxCare rebuilt react-dev-utils to address 2 CVEs. Fixed in 4.2.3-tuxcare.1.","status":"published","published":"2026-10-28T16:08:49Z","modified":"2026-10-28T19:45:10.208601312Z","updated_at":"2026-11-02T15:43:55.669514Z"}]}}
