CVE-2024-22190
Untrusted search path under some conditions on Windows allows arbitrary code execution
7.8
HIGH
CVSS 3.1
EPSS 0.32%
描述
GitPython is a python library used to interact with Git repositories. There is an incomplete fix for CVE-2023-40590. On Windows, GitPython uses an untrusted search path if it uses a shell to run `git`, as well as when it runs `bash.exe` to interpret hooks. If either of those features are used on Windows, a malicious `git.exe` or `bash.exe` may be run from an untrusted repository. This issue has been patched in version 3.1.41.
如何修補 CVE-2024-22190
要修補 CVE-2024-22190,請將受影響套件升級到下列已修補版本。
- —升級至 3.1.41 或更新版本
- —升級至 ef3192cc414f2fd9978908454f6fd95243784c7f 或更新版本
CVE-2024-22190 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 3.1.41
- from 0, < ef3192cc414f2fd9978908454f6fd95243784c7f | from 0, < 3.1.41
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |