Categories
CVE-2024-7348

PostgreSQL relation replacement during pg_dump executes arbitrary SQL

Summary

PostgreSQL relation replacement during pg_dump executes arbitrary SQL

Original description

The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) NVD OSV

Affected packages

Bitnami postgresql
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"12.20.0"},{"introduced":"13.0.0"},{"fixed":"13.16.0"},{"introduced":"14.0.0"},{"fixed":"14.13.0"},{"introduced":"15.0.0"},{"fixed":"15.8.0"},{"introduced":"16.0.0"},{"fixed":"16.4.0"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details