Description
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.
Details
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| postgresql-10 | — | 10.23-0ubuntu0.18.04.2+esm2 |
| postgresql-12 | — | 12.20-0ubuntu0.20.04.1 |
| postgresql-14 | — | 14.13-0ubuntu0.22.04.1 |
| postgresql-16 | — | 16.4-0ubuntu0.24.04.1 |
| postgresql-9.3 | — | 9.3.24-0ubuntu0.14.04+esm1 |
| postgresql-9.5 | — | 9.5.25-0ubuntu0.16.04.1+esm8 |
Similar Threats
- Unknown CLSA-2026-1779880647
- Unknown CLSA-2025-1742471100
- Unknown UBUNTU-CVE-2024-10976
- Unknown UBUNTU-CVE-2024-10977
- Unknown UBUNTU-CVE-2024-10978
Vulnerability Monitoring
Stay informed about vulnerabilities in your stack
BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.
Set Up Free Alerts →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.