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 h
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | dulwich | < 0.9.9 | 0.9.9 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-9706
- https://github.com/jelmer/dulwich/commit/091638be3c89f46f42c3b1d57dc1504af5729176
- https://git.samba.org/?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176
- https://github.com/jelmer/dulwich
- https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2015-34.yaml
- https://lists.launchpad.net/dulwich-users/msg00827.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154523.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154551.html
- http://www.debian.org/security/2015/dsa-3206
- http://www.openwall.com/lists/oss-security/2015/03/21/1
- http://www.openwall.com/lists/oss-security/2015/03/22/26
- https://github.com/advisories/GHSA-4j5j-58j7-6c3w
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
-- Platform
- Python (PyPI)
- Package
dulwich- Disclosed
- 31.03.2015
- Updated
- 11.10.2026 12:20
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4j5j-58j7-6c3w - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2015-34 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: dulwich
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 03.2015 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 3
- High 7
- Medium 2
- Low 1
Disclosures per year
- 2017: 1
- 2018: 0
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 10
earlier: 2
-
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 h this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.