CVE-2021-24033
react-dev-utils OS Command Injection in function `getProcessForPort`
5.6
MEDIUM
CVSS 3.1
EPSS 1.4%
描述
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.
如何修補 CVE-2021-24033
要修補 CVE-2021-24033,請將受影響套件升級到下列已修補版本。
- —升級至 11.0.4 或更新版本
CVE-2021-24033 正在被利用嗎?
低 — EPSS 為 1.4%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- >= 0.4.0, < 11.0.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |