CVE-2014-9706
CRITICAL9.8EPSS 2.8%Dulwich Arbitrary code execution via commit with directory path starting with .git
Published: 5/17/2022Modified: 5/14/2026
Description
The `build_index_from_tree` function in index.py in Dulwich versions 0.9.9 and below 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 (4)
- Debian/dulwichfrom 0, < 0.10.1-1
- Debian/dulwichfrom 0, < 0.8.5-2+deb7u2
- PyPI/dulwichfrom 0, < 0.9.10
- PyPI/dulwichfrom 0, < 0.9.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2014-9706
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2014-9706
- PATCHhttps://github.com/jelmer/dulwich
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-April/154523.html
- WEBhttp://lists.fedoraproject.org/pipermail/package-announce/2015-April/154551.html
- WEBhttps://github.com/jelmer/dulwich/commit/091638be3c89f46f42c3b1d57dc1504af5729176
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2015-34.yaml
- WEBhttps://git.samba.org/?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176
- WEBhttps://lists.launchpad.net/dulwich-users/msg00827.html
- WEBhttp://www.debian.org/security/2015/dsa-3206
- WEBhttp://www.openwall.com/lists/oss-security/2015/03/21/1
- WEBhttp://www.openwall.com/lists/oss-security/2015/03/22/26