PT-2021-15656 · Facebook · React-Dev-Utils
Zpbrent
·
Published
2021-03-09
·
Updated
2021-03-16
·
CVE-2021-24033
CVSS v2.0
6.8
Medium
| Vector | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions:
react-dev-utils versions prior to 11.0.4
Description:
The issue concerns 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. However, when this function is manually invoked with user-provided values, there is the potential for command injection. If the function is consumed from react-scripts, this issue does not affect the user.Recommendations:
For react-dev-utils versions prior to 11.0.4, as a temporary workaround, consider avoiding manual invocation of the
getProcessForPort function with user-provided values until a patch is available.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
React-Dev-Utils