2084AI 安全观察

CVE

CVE-2024-7348

CVE-2024-7348HIGH 7.5EPSS 76%

CNA 原文 · 原文(英文)

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.

受影响版本

PostgreSQL 的全部漏洞 →

  • ≥ 16.0, < 16.4修复版本 16.4
  • ≥ 15.0, < 15.8修复版本 15.8
  • ≥ 14.0, < 14.13修复版本 14.13
  • ≥ 13.0, < 13.16修复版本 13.16
  • ≥ 12.0, < 12.20修复版本 12.20

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。