Back to list

Dulwich Arbitrary code execution via commit with directory path starting with .git — CVE-2014-9706

GitHub · GitHub · CVE-2014-9706

ID
CVE-2014-9706
Date
Updated
Activity
Source
GitHub
Vendor
GitHub
Threat
critical
CVSS
9.3
EPSS
0.02765

Summary

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.

Product

pip: dulwich

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories