CVE-2022-21187
Command injection in libvcs and vcspull
8.1
HIGH
CVSS 3.1
EPSS 1.3%
描述
The package libvcs before 0.11.1 are vulnerable to Command Injection via argument injection. When calling the update_repo function (when using hg), the url parameter is passed to the hg clone command. By injecting some hg options it was possible to get arbitrary command execution.
如何修補 CVE-2022-21187
要修補 CVE-2022-21187,請將受影響套件升級到下列已修補版本。
- PyPI/libvcs—升級至 0.11.1 或更新版本
- —升級至 0.11.1 或更新版本
- —升級至 1.11.1 或更新版本
CVE-2022-21187 正在被利用嗎?
低 — EPSS 為 1.3%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 0.11.1
- from 0, < 0.11.1
- from 0, < 1.11.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |