Skip to content
OpenAdvisories
Critical · 9.8 CVE-2014-9706 EUVD-2015-0019GHSA-4j5j-58j7-6c3wPYSEC-2015-34

Dulwich Arbitrary code execution via commit with directory path starting with .git

Published Mar 31, 2015 · Updated Aug 6, 2024 · Assigned by debian

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dulwich 0.10.1-1 —
Debian 13 dulwich 0.10.1-1 —
Debian 12 dulwich 0.10.1-1 —
Debian 7 dulwich 0.8.5-2+deb7u2 DSA-3206-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI dulwich < 0.9.10 0.9.10 GHSA-4j5j-58j7-6c3w
PyPI dulwich < 0.9.9 0.9.9 PYSEC-2015-34

Advisories 1

References