NetSight
hoch8.8

CVE-2024-7348

Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_d…

Auswirkung

Time-of-check Time-of-use (TOCTOU) race condition in pg_dump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pg_dump, which is often a superuser. The attack involves replacing another relation type with a view or foreign table. The attack requires waiting for pg_dump to start, but winning the race condition is trivial if the attacker retains an open transaction. Versions before PostgreSQL 16.4, 15.8, 14.13, 13.16, and 12.20 are affected.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.

Betroffene Produkte

HerstellerProduktBetroffene VersionenBehoben durch
MicrosoftAzure Linux 3.0 ARMOnlinedienstVom Hersteller behoben, nichts zu tun
MicrosoftAzure Linux 3.0 x64OnlinedienstVom Hersteller behoben, nichts zu tun
PostgreSQLPostgreSQL
ab 12.0 vor 12.20
ab 13.0 vor 13.16
ab 14.0 vor 14.13
ab 15.0 vor 15.8
ab 16.0 vor 16.4
Kein Hersteller-Update aufgeführt

Schwachstellenklasse

Referenzen