{"id":"AZL-47636","summary":"CVE-2024-7348 affecting package postgresql for versions less than 16.4-1","details":"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.","modified":"2026-04-01T05:15:55.048870Z","published":"2024-08-08T13:15:14Z","upstream":["CVE-2024-7348"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7348"}],"affected":[{"package":{"name":"postgresql","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/postgresql"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"16.4-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-47636.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}