NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-7348
Summary

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.

Publication Date Aug. 8, 2024, 10:15 p.m.
Registration Date Aug. 9, 2024, 5 a.m.
Last Update Nov. 21, 2024, 6:51 p.m.
CVSS3.1 : HIGH
スコア 7.5
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 16.0 16.4
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 15.0 15.8
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 14.0 14.13
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 13.0 13.16
cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:* 12.0 12.20
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PostgreSQL.org の PostgreSQL における Time-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Title PostgreSQL.org の PostgreSQL における Time-of-check Time-of-use (TOCTOU) 競合状態の脆弱性
Summary

PostgreSQL.org の PostgreSQL には、Time-of-check Time-of-use (TOCTOU) 競合状態の脆弱性が存在します。

Possible impacts 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダアドバイザリまたはパッチ情報が公開されています。参考情報を参照して適切な対策を実施してください。

Publication Date Aug. 8, 2024, midnight
Registration Date Aug. 15, 2024, 11:45 a.m.
Last Update May 16, 2025, 4:30 p.m.
Affected System
PostgreSQL.org
PostgreSQL 12.0 以上 12.20 未満
PostgreSQL 13.0 以上 13.16 未満
PostgreSQL 14.0 以上 14.13 未満
PostgreSQL 15.0 以上 15.8 未満
PostgreSQL 16.0 以上 16.4 未満
日立
Hitachi Ops Center Common Services (海外版)
Hitachi Ops Center Common Services (国内版)
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2024年08月15日]
  掲載
Aug. 15, 2024, 11:45 a.m.
2 [2025年05月16日]
  影響を受けシステム:ベンダ情報の追加に伴い内容を更新
  ベンダ情報:日立 (hitachi-sec-2025-113) を追加
May 16, 2025, 4:29 p.m.