Medium severity5.0OSV Advisory· Published Jan 20, 2025· Updated Apr 15, 2026
CVE-2025-22620
CVE-2025-22620
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gix-worktree-statecrates.io | < 0.17.0 | 0.17.0 |
Affected products
7- osv-coords6 versionspkg:apk/chainguard/cargo-auditpkg:apk/chainguard/cargo-audit-docpkg:apk/wolfi/cargo-auditpkg:apk/wolfi/cargo-audit-docpkg:cargo/gix-worktree-statepkg:rpm/opensuse/gitoxide&distro=openSUSE%20Tumbleweed
< 0.21.2-r0+ 5 more
- (no CPE)range: < 0.21.2-r0
- (no CPE)range: < 0.21.2-r0
- (no CPE)range: < 0.21.2-r0
- (no CPE)range: < 0.21.2-r0
- (no CPE)range: < 0.17.0
- (no CPE)range: < 0.42.0-1.1
Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.