PyPA Advisory Database
PYSEC-2015-34
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | dulwich | All versions before 0.9.9 (fixed in 0.9.9) |
References
- http://www.openwall.com/lists/oss-security/2015/03/21/1
- https://lists.launchpad.net/dulwich-users/msg00827.html
- http://www.debian.org/security/2015/dsa-3206
- http://www.openwall.com/lists/oss-security/2015/03/22/26
- https://git.samba.org/?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154523.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154551.html
- https://github.com/advisories/GHSA-4j5j-58j7-6c3w