CVE-2025-22620
MEDIUM 5.0CVSS 3.1gix-worktree-state nonexclusive checkout sets executable files world-writable
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.
- Published
- 20 Jan 2025
- Last modified
- 9 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-281CWE-687
- Also known as
- GHSA-fqmf-w4xh-33rhRUSTSEC-2025-0001
- Sources
- NVDJSONOSV GHSA-fqmf-w4xh-33rhJSONOSV RUSTSEC-2025-0001JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | gix-worktree-state | < 0.17.0 | 0.17.0 |
| OSV | crates.io | gix-worktree-state | >= 0.0.0-0, < 0.17.0 | 0.17.0 |
References
- https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-fqmf-w4xh-33rh · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-22620 · ADVISORY, WEB
- https://github.com/GitoxideLabs/gitoxide · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2025-0001.html · WEB, ADVISORY
- https://crates.io/crates/gix-worktree-state · PACKAGE
- https://github.com/GitoxideLabs/gitoxide/pull/1764 · WEB
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jan 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Jan 2025)