// For flags

CVE-2025-22620

gix-worktree-state nonexclusive checkout sets executable files world-writable

Severity Score

5.0
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Attack Vector
Local
Attack Complexity
Low
Authentication
Single
Confidentiality
None
Integrity
Complete
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
Poc
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2025-01-07 CVE Reserved
  • 2025-01-20 CVE Published
  • 2025-01-20 First Exploit
  • 2025-01-21 CVE Updated
  • 2025-01-21 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-281: Improper Preservation of Permissions
  • CWE-687: Function Call With Incorrectly Specified Argument Value
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
GitoxideLabs
Search vendor "GitoxideLabs"
Gitoxide
Search vendor "GitoxideLabs" for product "Gitoxide"
< 0.17.0
Search vendor "GitoxideLabs" for product "Gitoxide" and version " < 0.17.0"
en
Affected