VDB

ALPINE-CVE-2024-7348

ALPINE-CVE-2024-7348 PUBLISHED CVSS 7.5 HIGH

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.

Risk Scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.18postgresql1515.1-r1, 15.1-r0, 15.1-r1
Alpine:v3.19postgresql1616.2-r0, 16.1-r0, 16.0-r2
Alpine:v3.18postgresql149.3.0-r2, 9.3.1-r0, 9.3.2-r0
Alpine:v3.20postgresql1515.4-r1, 15.7-r0, 0
Alpine:v3.17postgresql1515.1-r0, 15.3-r0, 15.4-r0
Alpine:v3.20postgresql1616.2-r3, 0, 16.0-r0
Alpine:v3.21postgresql1616.2-r1, 16.3-r1, 16.3-r0
Alpine:v3.19postgresql1515.2-r4, 15.3-r0, 15.3-r1
Alpine:v3.22postgresql1616.0-r0, 16.0-r1, 16.0-r2
Alpine:v3.17postgresql149.1.2-r1, 9.5.2-r3, 9.6.2-r0

Timeline

  • Aug 8, 2024 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›