CVE-2025-22620

MEDIUM CVSS 3.1: 5.0 EPSS 0.37%
Updated Jan 20, 2025
gitoxide
Parameter Value
CVSS 5.0 (MEDIUM)
Fixed In 0.17.0
Type CWE-281, CWE-687
Vendor gitoxide
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
None
No data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)