react-dev-utils
Affected
- introduced
0.4.0, fixed11.0.4(semver)
Fixed versions
11.0.4
Fix
- Fixed version
11.0.4npm install [email protected]
Advisory
Also known as: CVE-2021-24033
react-dev-utils OS Command Injection in function getProcessForPort
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.
Medium Basis: The source's own band: MODERATE
0.4.0, fixed 11.0.4 (semver)11.0.4
11.0.4npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0