CyberRota Analysis
AI-GeneratedThe vulnerability affects the gix-worktree-state component of gitoxide on Windows, allowing unauthorized file writes outside the designated worktree due to improper handling of symlinks during incremental checkouts. This can lead to overwriting critical files outside the intended directory, potentially compromising system integrity and data security. Organizations utilizing gitoxide on Windows should prioritize addressing this issue to mitigate risks associated with unauthorized file access and modification.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
gix-worktree-state before 0.33.0 (part of gitoxide) allows writing files outside the worktree on Windows. gix_worktree_state::checkout() follows an existing terminal symlink during non-exclusive (incremental) materialization (destination_is_initially_empty: false) when core.symlinks is true. If a symlink entry (mode 120000) is first checked out at a path P pointing outside the worktree, a subsequent incremental checkout of a regular-file entry (mode 100644) at the same path follows the existing reparse point and writes the blob content through the link, overwriting files outside the worktree.