Zurück zur Liste

ChatterBot: Symlink-Following Arbitrary Write via UbuntuCorpusTrainer — GHSA-WVRH-2F4M-924V

GitHub · GitHub · GHSA-WVRH-2F4M-924V

ID
GHSA-WVRH-2F4M-924V
Datum
Activity
Quelle
GitHub
Vendor
GitHub
Risiko
medium
CVSS
5.5

Zusammenfassung

## Summary ChatterBot's `UbuntuCorpusTrainer.extract()` uses a predictable, home-rooted output directory (`~/ubuntu_data/ubuntu_dialogs`) with a check-then-create pattern (`if not os.path.exists: os.makedirs`) followed by `tar.extractall(path=self.data_path)`. A local attacker who pre-plants a symlink at the predictable path causes `os.path.exists()` to return True (following the symlink), skipping `makedirs`, and…

Produkt

pip: ChatterBot

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

Mehr dazu