Zurück zur Liste

Diesel: Command injection in Diesel's implementation of `COPY FROM`/`COPY TO` — GHSA-M9P2-FXP5-V3FP

GitHub · GitHub · GHSA-M9P2-FXP5-V3FP

ID
GHSA-M9P2-FXP5-V3FP
Datum
Activity
Quelle
GitHub
Vendor
GitHub
Risiko
medium
CVSS
6.9

Zusammenfassung

Diesel allows users to configure various options for PostgreSQL's `COPY FROM` and `COPY TO` statements. These configurations are partially provided as strings or characters. Diesel did not check if any these user-provided options contain a quote character `'`, which can lead to the injection of additional options in the current `COPY FROM`/`COPY TO` statement. This vulnerability affects any user of `COPY…

Produkt

rust: diesel

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