Name | CVE-2014-9706 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-3206-1 |
Debian Bugs | 780989 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
dulwich (PTS) | jessie | 0.9.7-3 | fixed |
| stretch | 0.16.3-1 | fixed |
| buster | 0.19.11-2 | fixed |
| bullseye | 0.20.15-1 | fixed |
| bookworm | 0.21.2-1 | fixed |
| trixie | 0.21.6-1 | fixed |
| sid | 0.22.5-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[squeeze] - dulwich <not-affected> (Repo.checkout (later renamed to build_index_from_tree) introduced past 0.6.1)
Patch: https://git.samba.org/?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176
https://www.openwall.com/lists/oss-security/2015/03/21/1