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
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:Track*
Exploitation
Automatable
Tech. Impact
* 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
References (2)
URL | Tag | Source |
---|---|---|
https://github.com/GitoxideLabs/gitoxide/security/advisories/GHSA-fqmf-w4xh-33rh | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
https://github.com/EliahKagan/checkout-index | 2025-01-20 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
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
|