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.
(CVE-2024-7348)
- https://bugs.mageia.org/show_bug.cgi?id=33503
- https://www.postgresql.org/about/news/postgresql-164-158-1413-1316-1220-and-17-beta-3-released-2910/
- https://www.postgresql.org/support/security/CVE-2024-7348/
- https://www.cve.org/CVERecord?id=CVE-2024-7348
- 9/core/postgresql15-15.8-1.mga9
- 9/core/postgresql13-13.16-1.mga9
Get the latest Linux and open source security news straight to your inbox.