—
PYSEC-2015-34
Quick fix
PYSEC-2015-34 — dulwich: upgrade to the fixed version with the command below.
pip install --upgrade 'dulwich>=0.9.9'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- http://www.openwall.com/lists/oss-security/2015/03/21/1[WEB]
- https://lists.launchpad.net/dulwich-users/msg00827.html[WEB]
- http://www.debian.org/security/2015/dsa-3206[ADVISORY]
- http://www.openwall.com/lists/oss-security/2015/03/22/26[WEB]
- https://git.samba.org/?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154523.html[WEB]
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154551.html[WEB]
- https://github.com/advisories/GHSA-4j5j-58j7-6c3w[ADVISORY]