CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Postgresql

CVE-2024-7348
Postgresql vulnerability

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.

Affected products

Postgresql. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Postgresql runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Postgresql products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.