jelmer/dulwich · Security
Dulwich Arbitrary code execution via commit with directory path starting with .git
- GHSA ID
- GHSA-4j5j-58j7-6c3w
- CVE ID
- CVE-2014-9706
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · 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
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-9706 ↗
- https://git.samba.org/?p=jelmer/dulwich.git;a=commitdiff;h=091638be3c89f46f42c3b1d57dc1504af5729176 ↗
- 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/jelmer/dulwich/commit/091638be3c89f46f42c3b1d57dc1504af5729176 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/dulwich/PYSEC-2015-34.yaml ↗
- https://github.com/advisories/GHSA-4j5j-58j7-6c3w ↗