Dulwich Arbitrary code execution via commit with directory path starting with .git
Critical severity
GitHub Reviewed
Published
May 17, 2022
to the GitHub Advisory Database
•
Updated Sep 20, 2024
Description
Published by the National Vulnerability Database
Mar 31, 2015
Published to the GitHub Advisory Database
May 17, 2022
Reviewed
Apr 30, 2024
Last updated
Sep 20, 2024
The
build_index_from_tree
function in index.py in Dulwich before 0.9.9 allows remote attackers to execute arbitrary code via a commit with a directory path starting with.git/
, which is not properly handled when checking out a working tree.References