{"id":"CVE-2021-24033","aliases":["GHSA-5q6m-3h65-w53x"],"summary":"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.","published_at":"2021-03-09T00:00:00Z","modified_at":"2026-08-04T17:04:44Z","products":[],"rating":{"severity":"medium","score":5.6,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.03288999944925308,"percentile":0.8874800205230713,"date":"2026-11-19T00:00:00Z"},"priority":7.6,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"Facebook/react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11.0.4"}]}],"fixed":["11.0.4"],"provider":"cvelistv5","source":"CVE-2021-24033","relation":"self"},{"ecosystem":"NVD","package":"facebook:react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11.0.4"}]}],"fixed":["11.0.4"],"provider":"nvd","source":"CVE-2021-24033","relation":"self"},{"ecosystem":"TuxCare:npm","package":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.3-tuxcare.0"},{"fixed":"4.2.3-tuxcare.1"}]}],"versions":["4.2.3"],"fixed":["4.2.3-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1793203729","relation":"upstream"},{"ecosystem":"npm","package":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"11.0.4"}]}],"fixed":["11.0.4"],"provider":"osv","source":"GHSA-5q6m-3h65-w53x","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus","servicemesh-prometheus"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus","servicemesh-prometheus"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-rhel8","rhacm2/search-ui-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"affected","packages":["react-dev-utils"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-grafana","openshift4/ose-prometheus","openshift4/ose-thanos-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"affected","packages":["react-dev-utils"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-24033"}],"records":[{"provider":"osv","source_id":"CLSA-2026-1793203729","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1793203729","published_at":"2026-10-28T16:08:49Z","modified_at":"2026-10-28T19:45:10.208601Z","summary":"TuxCare security update for react-dev-utils (2 CVEs)","details":"TuxCare rebuilt react-dev-utils to address 2 CVEs. Fixed in 4.2.3-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.3-tuxcare.0"},{"fixed":"4.2.3-tuxcare.1"}]}],"versions":["4.2.3"],"fixed":["4.2.3-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1793203729","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2021-24033","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-24033","license":"CC-BY-4.0","published_at":"2021-03-09T00:25:13Z","modified_at":"2024-08-03T19:21:17.286Z","summary":"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.","details":"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":[],"affected":[{"ecosystem":"CVE","package":"Facebook/react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11.0.4"}]}],"fixed":["11.0.4"],"provider":"cvelistv5","source":"CVE-2021-24033","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/facebook/create-react-app/pull/10644"},{"type":"WEB","url":"https://www.facebook.com/security/advisories/cve-2021-24033"}]},{"provider":"nvd","source_id":"CVE-2021-24033","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24033","severity":[],"affected":[{"ecosystem":"NVD","package":"facebook:react-dev-utils","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"11.0.4"}]}],"fixed":["11.0.4"],"provider":"nvd","source":"CVE-2021-24033","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-5q6m-3h65-w53x","relation":"self","url":"https://osv.dev/vulnerability/GHSA-5q6m-3h65-w53x","license":"CC-BY-4.0","published_at":"2021-03-11T22:26:09Z","modified_at":"2023-11-08T04:05:14.230118Z","summary":"react-dev-utils OS Command Injection in function `getProcessForPort`","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"GHSA-5q6m-3h65-w53x"}],"affected":[{"ecosystem":"npm","package":"react-dev-utils","purl":"pkg:npm/react-dev-utils","ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"11.0.4"}]}],"fixed":["11.0.4"],"provider":"osv","source":"GHSA-5q6m-3h65-w53x","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24033"},{"type":"WEB","url":"https://github.com/facebook/create-react-app/pull/10644"},{"type":"WEB","url":"https://github.com/facebook/create-react-app/commit/f5e415f3a5b66f07dcc60aba1b445fa7cda97268"},{"type":"PACKAGE","url":"https://github.com/facebook/create-react-app"},{"type":"WEB","url":"https://www.facebook.com/security/advisories/cve-2021-24033"},{"type":"WEB","url":"https://www.huntr.dev/bounties/1-npm-react-dev-utils"}]},{"provider":"redhat-vex","source_id":"CVE-2021-24033","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2021-24033","license":"CC-BY-4.0","published_at":"2021-03-09T00:00:00Z","modified_at":"2026-08-04T17:04:44Z","summary":"nodejs-react-dev-utils: function getProcessForPort concatenates input argument into a command string","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2021-24033"},{"type":"Red Hat","score":"Moderate","source":"CVE-2021-24033"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"OpenShift Service Mesh 1","cpe":"cpe:/a:redhat:service_mesh:1","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus","servicemesh-prometheus"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"OpenShift Service Mesh 2.0","cpe":"cpe:/a:redhat:service_mesh:2.0","status":"not_affected","packages":["servicemesh-grafana","servicemesh-grafana-prometheus","servicemesh-prometheus"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Management for Kubernetes 2","cpe":"cpe:/a:redhat:acm:2","status":"not_affected","packages":["rhacm2/console-rhel8","rhacm2/search-ui-rhel8"],"package_count":2,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat Decision Manager 7","cpe":"cpe:/a:redhat:jboss_enterprise_brms_platform:7","status":"affected","packages":["react-dev-utils"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat OpenShift Container Platform 4","cpe":"cpe:/a:redhat:openshift:4","status":"not_affected","packages":["openshift4/ose-grafana","openshift4/ose-prometheus","openshift4/ose-thanos-rhel8"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2021-24033"},{"vendor":"Red Hat","product":"Red Hat Process Automation 7","cpe":"cpe:/a:redhat:jboss_bpms:7","status":"affected","packages":["react-dev-utils"],"package_count":1,"fixed":[],"advisories":[],"note":"Out of support scope","provider":"redhat-vex","source":"CVE-2021-24033"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-24033.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-24033"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1936805"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-24033"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24033"},{"type":"WEB","url":"https://github.com/facebook/create-react-app/pull/10644"},{"type":"WEB","url":"https://www.facebook.com/security/advisories/cve-2021-24033"}]}],"references":[{"type":"WEB","url":"https://github.com/facebook/create-react-app/pull/10644"},{"type":"WEB","url":"https://www.facebook.com/security/advisories/cve-2021-24033"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24033"},{"type":"WEB","url":"https://github.com/facebook/create-react-app/commit/f5e415f3a5b66f07dcc60aba1b445fa7cda97268"},{"type":"PACKAGE","url":"https://github.com/facebook/create-react-app"},{"type":"WEB","url":"https://www.huntr.dev/bounties/1-npm-react-dev-utils"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-24033.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2021-24033"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1936805"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2021-24033"}],"sources":[{"provider":"osv","source_id":"CLSA-2026-1793203729","url":"https://osv.dev/vulnerability/CLSA-2026-1793203729","modified_at":"2026-10-28T19:45:10.208601Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2021-24033","url":"https://www.cve.org/CVERecord?id=CVE-2021-24033","license":"CC-BY-4.0","modified_at":"2024-08-03T19:21:17.286Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-24033","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24033","relation":"self"},{"provider":"osv","source_id":"GHSA-5q6m-3h65-w53x","url":"https://osv.dev/vulnerability/GHSA-5q6m-3h65-w53x","license":"CC-BY-4.0","modified_at":"2023-11-08T04:05:14.230118Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2021-24033","url":"https://access.redhat.com/security/cve/CVE-2021-24033","license":"CC-BY-4.0","modified_at":"2026-08-04T17:04:44Z","relation":"self"}]}
