Advisory

GHSA-4j5j-58j7-6c3w

Also known as: CVE-2014-9706, PYSEC-2015-34

Summary

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

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2022-05-17 04:14 UTC
Modified
2026-05-14 23:16 UTC

Affected packages and fixes

dulwich

PyPI · All systems

Affected

  • introduced 0, fixed 0.9.10 (ecosystem)

Fixed versions

0.9.10

Fix

  • Fixed version 0.9.10
    pip install --upgrade dulwich==0.9.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences