Description
gitoxide before 0.52.1 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
GitoxideLabs gitoxide
Default version status: unaffected
0 to < 0.52.1affected0.52.1unaffected
pkg:cargo/gitoxideGitoxideLabs gitoxide
Default version status: unaffected
0 to < 0.82.0affected0.82.0unaffected
pkg:cargo/gix