Dulwich: Symlink write-through in checkout(paths=[]) via raw os.open bypasses all symlink protections — GHSA-8W8G-WQ8H-FQ33
GitHub · GitHub · GHSA-8W8G-WQ8H-FQ33
ID
GHSA-8W8G-WQ8H-FQ33
GHSA-8W8G-WQ8H-FQ33
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
hoch
hoch
CVSS
8.6
8.6
Zusammenfassung
## Summary Dulwich's `porcelain.checkout(paths=[...])` code path writes files using raw `os.open(file_path, O_WRONLY|O_CREAT|O_TRUNC, mode)` followed by `f.write(obj.data)`. This code path does NOT call `build_file_from_blob()` at all, completely bypassing any symlink protections (including the unreleased d09f8af fix). `os.open` without `O_NOFOLLOW` follows symlinks at both the target file and intermediate…
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-8W8G-WQ8H-FQ33
- 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.