Descrição
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.
CVSS 5.3EPSS 0%Risco 0.53
Ver fonte- Publicação
- 2026-08-28 12:16:36
- Versões afetadas
- <0.33.0
- Tipo
- Biblioteca
- Última alteração
- 2026-08-28 18:54:09
- Vetor
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N