CVE-2024-7348

HIGH EPSS 72.2%
Published Aug 8, 20241y ago · Modified Jun 17, 20261w ago
7.5 CVSS 3.1
High
Find Similar
Published Aug 8, 2024 1y ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
7.5
Exploitability
1.6
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
72.2% percentile
Exploit & Patch Status
No Known Exploit
No Patch Available

Weaknesses 1

CWE-367

Affected Products 5

VendorProductVersionRange
postgresqlpostgresql*≥12.0  –  <12.20
postgresqlpostgresql*≥13.0  –  <13.16
postgresqlpostgresql*≥14.0  –  <14.13
postgresqlpostgresql*≥15.0  –  <15.8
postgresqlpostgresql*≥16.0  –  <16.4

References 3

  • openwall.com http://www.openwall.com/lists/oss-security/2024/08/11/1
  • security.netapp.com https://security.netapp.com/advisory/ntap-20240822-0002/
  • postgresql.org https://www.postgresql.org/support/security/CVE-2024-7348/
    Vendor Advisory

Remediation

No remediation data recorded yet

Check vendor advisories and the NVD entry for patch availability.