CVE-2024-7348

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-7348
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-7348.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-7348
Aliases
Downstream
Related
Published
2024-08-08T13:15:14Z
Modified
2025-05-30T18:00:04Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Time-of-check Time-of-use (TOCTOU) race condition in pgdump in PostgreSQL allows an object creator to execute arbitrary SQL functions as the user running pgdump, 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.

References

Affected packages