MGASA-2024-0301 - Updated postgresql15 & postgresql13 packages fix security vulnerability

Publication date: 16 Sep 2024
URL: https://advisories.mageia.org/MGASA-2024-0301.html
Type: security
Affected Mageia releases: 9
CVE: 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_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

SRPMS:
- 9/core/postgresql15-15.8-1.mga9
- 9/core/postgresql13-13.16-1.mga9

Mageia 2024-0301: postgresql15 & postgresql13 Security Advisory Updates

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...

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

Severity
Publication date: 16 Sep 2024
URL: https://advisories.mageia.org/MGASA-2024-0301.html
Type: security
CVE: CVE-2024-7348

Related News