virtualenv writes prompt values into pyvenv.cfg without sanitizing line boundaries, allowing configuration injection — GHSA-9H9J-4VRJ-GF7G
GitHub · GitHub · GHSA-9H9J-4VRJ-GF7G
ID
GHSA-9H9J-4VRJ-GF7G
GHSA-9H9J-4VRJ-GF7G
Datum
Quelle
GitHub
GitHub
Vendor
GitHub
GitHub
Risiko
mittel
mittel
CVSS
5.8
5.8
Zusammenfassung
### Summary `pyvenv.cfg` is a line-based format with no escape syntax. `PyEnvCfg.write()` wrote values verbatim, while `PyEnvCfg._read_values()` parses the file with `str.splitlines()`. A value containing a line boundary therefore became additional configuration lines, and because reading is last-wins, the injected keys replaced any key written earlier in the file. ### Impact The `prompt` value is the reachable…
Zeitlicher Verlauf
- Von der Quelle veröffentlicht
- 2026-09-30
Risikokontext
- Gemeldeter Schweregrad oder Risikowert: mittel.
- Gemeldeter CVSS-Wert: 5.8 von 10.
- Prüfe die Exponierung für das betroffene Produkt oder die Produktfamilie: pip: virtualenv.
Produkt
pip: virtualenv
Was tun?
Allgemeine, vorsichtige Schritte (bitte prüfe die offizielle Quelle für Details):
- Prüfe Exponierung und plane Maßnahmen nach Risiko und Umfeld.
- 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-9H9J-4VRJ-GF7G
- Quelle
- GitHub
- Vendor
- GitHub
- Von der Quelle veröffentlicht
- 2026-09-30
- Letzte Quellenaktivität
- 2026-09-30
- Weitere Kennungen
- CVE-2026-102938
- Kuratiert von
- hlukh.ch
Verwandte Hinweise und Zusammenhänge
Diese Hinweise sind anhand gemeinsamer CVE-, Produkt-, Hersteller-, Quellen- oder Zeitsignale verknüpft.