Description
Dulwich from 0.24.0 before 1.2.8 contains a symlink following vulnerability in porcelain.checkout(paths=[...]) that allows attackers to write arbitrary files by abusing raw os.open without O_NOFOLLOW. Attackers can craft a repository where a worktree symlink points to .git/hooks/post-checkout, so restoring the file from a tag writes a malicious hook for code execution.
Mitigation
Minimal update. May introduce new vulnerabilities or breaking changes.
|
 debian 13 | | =0.22.7-1 || =0.22.7-2 || =0.24.10-1 || =0.24.2-1 || =0.24.2-2 || =1.0.0-1 || =1.0.0-2 || =1.1.0-1 || =1.1.0-2 || =1.1.0-3 || =1.2.0-1 || =1.2.1-1 || =1.2.11-1 || =1.2.12-1 || =1.2.17-1 || =1.2.5-1 || =1.2.7-1 || =1.2.7-2 | - |
 pypi | | =0.24.0 || =0.24.1 || =0.24.10 || =0.24.2 || =0.24.3 || =0.24.4 || =0.24.5 || =0.24.6 || =0.24.7 || =0.24.8 || =0.24.9 || =0.25.0 || =0.25.1 || =0.25.2 || =1.0.0 || =1.1.0 || =1.2.0 || =1.2.1 || =1.2.2 || =1.2.3 || =1.2.4 || =1.2.5 || =1.2.6 || =1.2.7 || >=0.24.0 <1.2.8 | 1.2.8 |
 debian 12 | | =0.21.2-1 || =0.21.5-1 || =0.21.6-1 || =0.22.5-1 || =0.22.7-1 || =0.22.7-2 || =0.24.10-1 || =0.24.2-1 || =0.24.2-2 || =1.0.0-1 || =1.0.0-2 || =1.1.0-1 || =1.1.0-2 || =1.1.0-3 || =1.2.0-1 || =1.2.1-1 || =1.2.11-1 || =1.2.12-1 || =1.2.17-1 || =1.2.5-1 || =1.2.7-1 || =1.2.7-2 | - |
 debian 14 | | =0.22.7-1 || =0.22.7-2 || =0.24.10-1 || =0.24.2-1 || =0.24.2-2 || =1.0.0-1 || =1.0.0-2 || =1.1.0-1 || =1.1.0-2 || =1.1.0-3 || =1.2.0-1 || =1.2.1-1 || =1.2.5-1 || =1.2.7-1 || =1.2.7-2 || >=0 <1.2.8-1 | 1.2.8-1 |