CVE-2024-10978 | PostgreSQL SET ROLE, SET SESSION AUTHORIZATION reset to wrong user ID

Incorrect privilege assignment in PostgreSQL allows a less-privileged application user to view or change different rows from those intended. An attack requires the application to use SET ROLE, SET SESSION AUTHORIZATION, or an equivalent feature. The problem arises when an application query uses parameters from the attacker or conveys query results to the attacker. If that query reacts to current_setting('role') or the current user ID, it may modify or return data as though the session had not used SET ROLE or SET SESSION AUTHORIZATION. The attacker does not control which incorrect user ID applies. Query text from less-privileged sources is not a concern here, because SET ROLE and SET SESSION AUTHORIZATION are not sandboxes for unvetted queries. Versions before PostgreSQL 17.1, 16.5, 15.9, 14.14, 13.17, and 12.21 are affected.

公開: 2024-11-14 最終更新: 2026-06-17 Assigner: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 ソース: f86ef6dc-4d3a-42ad-8f28-e6d5547a5007

総合評価: CVE-2024-10978 は低リスク(33.8/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.70%、48 パーセンタイル) 推奨対応: 悪用情報と EPSS の推移を監視し、必要に応じて優先度を見直してください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2024-10978 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.61% 0.70% +0.09%
2 2025-12-27 0.70% 0.61% -0.09%
3 2025-12-23 0.70%

EPSS の全履歴 (全 13 件)

CVE-2024-10978 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
4.2 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.6 2.5 f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
4.2 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.6 2.5 [email protected]

CVE-2024-10978 の弱点分類(列挙)

CVE-2024-10978 の OS トラッカー

vendor priority summary link
alpine medium CVE-2024-10978: 5 source package rows (postgresql, postgresql14, postgresql15, postgresql16, postgresql17); 37 state rows across 11 repos (3.17-main, 3.18-main, 3.19-main, 3.20-community, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 19, open 18. https://security.alpinelinux.org/vuln/CVE-2024-10978
debian not yet assigned CVE-2024-10978 not yet assigned priority: Debian including 3 source packages (postgresql-13, postgresql-15, postgresql-17), 3 status rows across 3 suites (bookworm, bullseye, trixie): resolved 3. https://security-tracker.debian.org/tracker/CVE-2024-10978
gentoo high CVE-2024-10978: 1 GLSA(s) (202412-12), 1 atom(s) (dev-db/postgresql); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-10978
redhat medium https://access.redhat.com/security/cve/CVE-2024-10978
suse medium CVE-2024-10978 severity moderate: SUSE including 693 source package names (0:libpq5-17.2-150600.13.5.1, 15.10-42.1:libpq5-17.2-150200.5.5.1, …), 1748 product×package rows across 57 product lines (Container containers/open-webui, Container private-registry/harbor-db, … (57 product lines)): Fixed 1509, Known Affected 231, Known Not Affected 8. https://www.suse.com/security/cve/CVE-2024-10978/
ubuntu medium CVE-2024-10978 medium priority: Ubuntu including 8 source packages (postgresql-10, postgresql-12, …), 59 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 42, released 9, ignored 3, needs-triage 2, not-affected 2, deferred 1. https://ubuntu.com/security/CVE-2024-10978

CVE-2024-10978 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
postgresql postgresql >= 12.0, < 12.21 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 13.0, < 13.17 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 14.0, < 14.14 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 15.0, < 15.9 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql >= 16.0, < 16.5 cpe:2.3:a:postgresql:postgresql:*:*:*:*:*:*:*:*
postgresql postgresql 17.0 cpe:2.3:a:postgresql:postgresql:17.0:-:*:*:*:*:*:*
postgresql postgresql 17.0 cpe:2.3:a:postgresql:postgresql:17.0:beta1:*:*:*:*:*:*
postgresql postgresql 17.0 cpe:2.3:a:postgresql:postgresql:17.0:beta2:*:*:*:*:*:*
postgresql postgresql 17.0 cpe:2.3:a:postgresql:postgresql:17.0:beta3:*:*:*:*:*:*
postgresql postgresql 17.0 cpe:2.3:a:postgresql:postgresql:17.0:rc1:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

CVE-2024-10978 の参考情報

cvelogic Threat Intelligence