Description
Dulwich from 0.22.5 before 1.2.8 contains a path traversal vulnerability in stash.py pop() that allows attackers to write arbitrary files outside the worktree through intermediate directory symlinks. Attackers can craft a malicious repository whose popped stash writes a payload into .git/hooks/post-checkout, achieving code execution on the next checkout.
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 | - |
 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 |
 pypi | | =0.22.5 || =0.22.6 || =0.22.7 || =0.22.8 || =0.23.0 || =0.23.1 || =0.23.2 || =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.22.5 <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 | - |