CVE-2025-22620
gix-worktree-state nonexclusive checkout sets executable files world-writable
5.0
MEDIUM
CVSS 3.1
EPSS 0.36%
描述
gitoxide is an implementation of git written in Rust. Prior to 0.17.0, gix-worktree-state specifies 0777 permissions when checking out executable files, intending that the umask will restrict them appropriately. But one of the strategies it uses to set permissions is not subject to the umask. This causes files in a repository to be world-writable in some situations. This vulnerability is fixed in 0.17.0.
如何修補 CVE-2025-22620
要修補 CVE-2025-22620,請將受影響套件升級到下列已修補版本。
- —升級至 0.11.1-2 或更新版本
- —升級至 0.17.0 或更新版本
- —升級至 0.17.0 或更新版本
CVE-2025-22620 正在被利用嗎?
低 — EPSS 為 0.4%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 0.11.1-2
- from 0, < 0.17.0
- >= 0.0.0-0, < 0.17.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |