CVE-2024-7348Postgresql
High 7.5
Follow: this CVE · Postgresql · Postgresql We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- Yes
- Published
- Aug 8, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-367
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Postgresql.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| postgresql | postgresql | ≥ 12.0 < 12.20 |
| postgresql | postgresql | ≥ 13.0 < 13.16 |
| postgresql | postgresql | ≥ 14.0 < 14.13 |
| postgresql | postgresql | ≥ 15.0 < 15.8 |
| postgresql | postgresql | ≥ 16.0 < 16.4 |
Official advisories
- postgresql18-18.7-1.1 on GA media · SUSE · openSUSE-SU-2026:12654-1 · Nov 23, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- www.postgresql.org Vendor Advisory
- www.openwall.com
- security.netapp.com