Dulwich: Symlink directory traversal in filter-branch index_filter via cross-commit state persistence — GHSA-5FQC-MRG8-W798
GitHub · GitHub · GHSA-5FQC-MRG8-W798
ID
GHSA-5FQC-MRG8-W798
GHSA-5FQC-MRG8-W798
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
hoch
hoch
CVSS
8.6
8.6
Zusammenfassung
## Summary Dulwich's `filter_branch.py` `CommitFilter._apply_index_filter()` is vulnerable to symlink directory traversal. When processing commit history, materialized tree entries (including symlinks) persist in the working directory between commits, allowing a symlink from an ancestor commit to redirect file writes from a descendant commit to arbitrary filesystem locations. ## Root Cause `_apply_index_filter()`…
Zeitlicher Verlauf
- Von der Quelle veröffentlicht
- 2026-10-02
Risikokontext
- Gemeldeter Schweregrad oder Risikowert: hoch.
- Gemeldeter CVSS-Wert: 8.6 von 10.
- Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: pip: dulwich.
Produkt
pip: dulwich
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Priorisiere sofort Patches oder Mitigations (hohes akutes Risiko).
- Identifiziere betroffene Produktversionen und prüfe, ob du betroffen bist.
- Spiele Hersteller-Updates/Patches ein oder setze empfohlene Mitigations um.
- Lies das offizielle Advisory für betroffene Versionen und konkrete Schritte.
Offizielles Advisory
Nachweise und Herkunft
- Kanonische Advisory-ID
- GHSA-5FQC-MRG8-W798
- Quelle
- GitHub
- Vendor
- GitHub
- Von der Quelle veröffentlicht
- 2026-10-02
- Letzte Quellenaktivität
- 2026-10-02
- Kuratiert von
- hlukh.ch
Verwandte Hinweise und Zusammenhänge
Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.