Mageia 2024-0301: postgresql15 & postgresql13 Security Advisory Updates
Summary
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)
References
- 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-7348
Resolution
MGASA-2024-0301 - Updated postgresql15 & postgresql13 packages fix security vulnerability
SRPMS
- 9/core/postgresql15-15.8-1.mga9
- 9/core/postgresql13-13.16-1.mga9