CVE-2021-41116
HIGH8.2EPSS 0.97%Improper escaping of command arguments on Windows leading to command injection
發布日:2021/10/5修改日:2026/3/13
描述
### Impact Windows users running Composer to install untrusted dependencies are affected and should definitely upgrade for safety. Other OSs and WSL are not affected. ### Patches 1.10.23 and 2.1.9 fix the issue ### Workarounds None
受影響套件(2)
- Bitnami/composerfrom 0, < 1.10.23, >= 2.0.0, < 2.1.9
- Packagist/composer/composerfrom 0, < 1.10.23
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
參考連結(8)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-41116
- PATCHhttps://github.com/composer/composer
- WEBhttps://github.com/composer/composer/commit/ca5e2f8d505fd3bfac6f7c85b82f2740becbc0aa
- WEBhttps://github.com/composer/composer/security/advisories/GHSA-frqg-7g38-6gcf
- WEBhttps://github.com/FriendsOfPHP/security-advisories/blob/master/composer/composer/CVE-2021-41116.yaml
- WEBhttps://www.sonarsource.com/blog/securing-developer-tools-package-managers
- WEBhttps://www.sonarsource.com/blog/securing-developer-tools-package-managers/
- WEBhttps://www.tenable.com/security/tns-2022-09