{"id":"GHSA-5q6m-3h65-w53x","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.","aliases":["CVE-2021-24033"],"modified":"2023-11-08T04:05:14.230118Z","published":"2021-03-11T22:26:09Z","database_specific":{"cwe_ids":["CWE-78"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-03-11T22:18:08Z","nvd_published_at":"2021-03-09T01:15:00Z"},"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"}],"affected":[{"package":{"name":"react-dev-utils","ecosystem":"npm","purl":"pkg:npm/react-dev-utils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"11.0.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-5q6m-3h65-w53x/GHSA-5q6m-3h65-w53x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}