{"id":"CVE-2021-24033","state":"PUBLISHED","title":"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 use","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.","publishedAt":"2021-03-09T00:25:13.000Z","updatedAt":"2024-08-03T19:21:17.286Z","severity":null,"assigner":"facebook","products":["Facebook react-dev-utils"],"affected":[{"vendor":"Facebook","product":"react-dev-utils","versions":[{"version":"11.0.4","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"11.0.4","versionType":"custom"}]}],"references":["https://github.com/facebook/create-react-app/pull/10644","https://www.facebook.com/security/advisories/cve-2021-24033"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T19:48:07.505Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/24xxx/CVE-2021-24033.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-24033","state":"PUBLISHED","datePublished":"2021-03-09T00:25:13.000Z","dateUpdated":"2024-08-03T19:21:17.286Z","assignerShortName":"facebook","assignerOrgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827","dateReserved":"2021-01-13T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"Facebook","product":"react-dev-utils","versions":[{"version":"11.0.4","status":"unaffected","lessThan":"unspecified","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"11.0.4","versionType":"custom"}]}],"references":[{"url":"https://github.com/facebook/create-react-app/pull/10644","tags":["x_refsource_MISC"]},{"url":"https://www.facebook.com/security/advisories/cve-2021-24033","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","description":"Improper Neutralization of Special Elements used in an OS Command (CWE-78)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"facebook","dateUpdated":"2021-03-09T00:25:13.000Z","orgId":"4fc57720-52fe-4431-a0fb-3d2c8747b827"},"dateAssigned":"2021-03-04T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve-assign@fb.com","DATE_ASSIGNED":"2021-03-04","ID":"CVE-2021-24033","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"react-dev-utils","version":{"version_data":[{"version_affected":"!>=","version_value":"11.0.4"},{"version_affected":"<","version_value":"11.0.4"}]}}]},"vendor_name":"Facebook"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Improper Neutralization of Special Elements used in an OS Command (CWE-78)"}]}]},"references":{"reference_data":[{"name":"https://github.com/facebook/create-react-app/pull/10644","refsource":"MISC","url":"https://github.com/facebook/create-react-app/pull/10644"},{"name":"https://www.facebook.com/security/advisories/cve-2021-24033","refsource":"CONFIRM","url":"https://www.facebook.com/security/advisories/cve-2021-24033"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/facebook/create-react-app/pull/10644","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.facebook.com/security/advisories/cve-2021-24033","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:21:17.286Z"}}]}}}