CVE-2017-12172

PostgreSQL 10.x before 10.1, 9.6.x before 9.6.6, 9.5.x before 9.5.10, 9.4.x before 9.4.15, 9.3.x before 9.3.20, and 9.2.x before 9.2.24 runs under a non-root operating system account, and database superusers have effective ability to run arbitrary code under that system account. PostgreSQL provides a script for starting the database server during system boot. Packages of PostgreSQL for many operating systems provide their own, packager-authored startup implementations. Several implementations use a log file name that the database superuser can replace with a symbolic link. As root, they open(), chmod() and/or chown() this log file name. This often suffices for the database superuser to escalate to root privileges when root starts the server.

公開: 2017-11-22 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2017-12172 は中リスク(42.5/100)。CVSS 深刻度は中。悪用される可能性が高い(EPSS 0.59%、43 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

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

CVE-2017-12172 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.05% 0.59% +0.53%
2 2026-02-01 0.05% 0.05% +0.01%
3 2025-06-19 0.05%

EPSS の全履歴 (全 10 件)

CVE-2017-12172 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
6.7 3.0 MEDIUM
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:H)
管理者・SYSTEM など、強い権限を握った状態からでないと実害に結びつきにくい。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
0.8 5.9 [email protected]
7.2 2.0 HIGH
AV:L/AC:L/Au:N/C:C/I:C/A:C クリックして展開
アクセス経路 (AV:L)
対象ホストにログインするなど、ローカルからの操作が前提。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:C)
機密性は全面的に損なわれる。
完全性への影響 (I:C)
完全性は全面的に損なわれる。
可用性への影響 (A:C)
可用性は全面的に損なわれる。
3.9 10.0 [email protected]

CVE-2017-12172 の弱点分類(列挙)

CVE-2017-12172 の OS トラッカー

vendor priority summary link
redhat medium https://access.redhat.com/security/cve/CVE-2017-12172
suse high CVE-2017-12172 severity important: SUSE including 28 source package names (libecpg6-9.4.15-0.23.10.1, libpq5-32bit-9.4.15-0.23.10.1, …), 69 product×package rows across 20 product lines (SUSE Liberty Linux 7, SUSE Linux Enterprise Desktop 12 SP2, … (20 product lines)): Fixed 55, Known Not Affected 14. https://www.suse.com/security/cve/CVE-2017-12172/
ubuntu negligible CVE-2017-12172 negligible priority: Ubuntu including 4 source packages (postgresql-9.1, postgresql-9.3, postgresql-9.5, postgresql-9.6), 20 status rows across 5 suites (artful, trusty, upstream, xenial, zesty): DNE 12, needs-triage 4, not-affected 4. https://ubuntu.com/security/CVE-2017-12172

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

ベンダー 製品 バージョン 生の CPE
postgresql postgresql 9.2 cpe:2.3:a:postgresql:postgresql:9.2:*:*:*:*:*:*:*
postgresql postgresql 9.2.1 cpe:2.3:a:postgresql:postgresql:9.2.1:*:*:*:*:*:*:*
postgresql postgresql 9.2.2 cpe:2.3:a:postgresql:postgresql:9.2.2:*:*:*:*:*:*:*
postgresql postgresql 9.2.3 cpe:2.3:a:postgresql:postgresql:9.2.3:*:*:*:*:*:*:*
postgresql postgresql 9.2.4 cpe:2.3:a:postgresql:postgresql:9.2.4:*:*:*:*:*:*:*
postgresql postgresql 9.2.5 cpe:2.3:a:postgresql:postgresql:9.2.5:*:*:*:*:*:*:*
postgresql postgresql 9.2.6 cpe:2.3:a:postgresql:postgresql:9.2.6:*:*:*:*:*:*:*
postgresql postgresql 9.2.7 cpe:2.3:a:postgresql:postgresql:9.2.7:*:*:*:*:*:*:*
postgresql postgresql 9.2.8 cpe:2.3:a:postgresql:postgresql:9.2.8:*:*:*:*:*:*:*
postgresql postgresql 9.2.9 cpe:2.3:a:postgresql:postgresql:9.2.9:*:*:*:*:*:*:*
postgresql postgresql 9.2.10 cpe:2.3:a:postgresql:postgresql:9.2.10:*:*:*:*:*:*:*
postgresql postgresql 9.2.11 cpe:2.3:a:postgresql:postgresql:9.2.11:*:*:*:*:*:*:*
postgresql postgresql 9.2.12 cpe:2.3:a:postgresql:postgresql:9.2.12:*:*:*:*:*:*:*
postgresql postgresql 9.2.13 cpe:2.3:a:postgresql:postgresql:9.2.13:*:*:*:*:*:*:*
postgresql postgresql 9.2.14 cpe:2.3:a:postgresql:postgresql:9.2.14:*:*:*:*:*:*:*
postgresql postgresql 9.2.15 cpe:2.3:a:postgresql:postgresql:9.2.15:*:*:*:*:*:*:*
postgresql postgresql 9.2.16 cpe:2.3:a:postgresql:postgresql:9.2.16:*:*:*:*:*:*:*
postgresql postgresql 9.2.17 cpe:2.3:a:postgresql:postgresql:9.2.17:*:*:*:*:*:*:*
postgresql postgresql 9.2.18 cpe:2.3:a:postgresql:postgresql:9.2.18:*:*:*:*:*:*:*
postgresql postgresql 9.2.19 cpe:2.3:a:postgresql:postgresql:9.2.19:*:*:*:*:*:*:*
postgresql postgresql 9.2.20 cpe:2.3:a:postgresql:postgresql:9.2.20:*:*:*:*:*:*:*
postgresql postgresql 9.2.21 cpe:2.3:a:postgresql:postgresql:9.2.21:*:*:*:*:*:*:*
postgresql postgresql 9.2.22 cpe:2.3:a:postgresql:postgresql:9.2.22:*:*:*:*:*:*:*
postgresql postgresql 9.2.23 cpe:2.3:a:postgresql:postgresql:9.2.23:*:*:*:*:*:*:*
postgresql postgresql 9.3 cpe:2.3:a:postgresql:postgresql:9.3:*:*:*:*:*:*:*
postgresql postgresql 9.3.1 cpe:2.3:a:postgresql:postgresql:9.3.1:*:*:*:*:*:*:*
postgresql postgresql 9.3.2 cpe:2.3:a:postgresql:postgresql:9.3.2:*:*:*:*:*:*:*
postgresql postgresql 9.3.3 cpe:2.3:a:postgresql:postgresql:9.3.3:*:*:*:*:*:*:*
postgresql postgresql 9.3.4 cpe:2.3:a:postgresql:postgresql:9.3.4:*:*:*:*:*:*:*
postgresql postgresql 9.3.5 cpe:2.3:a:postgresql:postgresql:9.3.5:*:*:*:*:*:*:*
postgresql postgresql 9.3.6 cpe:2.3:a:postgresql:postgresql:9.3.6:*:*:*:*:*:*:*
postgresql postgresql 9.3.7 cpe:2.3:a:postgresql:postgresql:9.3.7:*:*:*:*:*:*:*
postgresql postgresql 9.3.8 cpe:2.3:a:postgresql:postgresql:9.3.8:*:*:*:*:*:*:*
postgresql postgresql 9.3.9 cpe:2.3:a:postgresql:postgresql:9.3.9:*:*:*:*:*:*:*
postgresql postgresql 9.3.10 cpe:2.3:a:postgresql:postgresql:9.3.10:*:*:*:*:*:*:*
postgresql postgresql 9.3.11 cpe:2.3:a:postgresql:postgresql:9.3.11:*:*:*:*:*:*:*
postgresql postgresql 9.3.12 cpe:2.3:a:postgresql:postgresql:9.3.12:*:*:*:*:*:*:*
postgresql postgresql 9.3.13 cpe:2.3:a:postgresql:postgresql:9.3.13:*:*:*:*:*:*:*
postgresql postgresql 9.3.14 cpe:2.3:a:postgresql:postgresql:9.3.14:*:*:*:*:*:*:*
postgresql postgresql 9.3.15 cpe:2.3:a:postgresql:postgresql:9.3.15:*:*:*:*:*:*:*
postgresql postgresql 9.3.16 cpe:2.3:a:postgresql:postgresql:9.3.16:*:*:*:*:*:*:*
postgresql postgresql 9.3.17 cpe:2.3:a:postgresql:postgresql:9.3.17:*:*:*:*:*:*:*
postgresql postgresql 9.3.18 cpe:2.3:a:postgresql:postgresql:9.3.18:*:*:*:*:*:*:*
postgresql postgresql 9.3.19 cpe:2.3:a:postgresql:postgresql:9.3.19:*:*:*:*:*:*:*
postgresql postgresql 9.4 cpe:2.3:a:postgresql:postgresql:9.4:*:*:*:*:*:*:*
postgresql postgresql 9.4.1 cpe:2.3:a:postgresql:postgresql:9.4.1:*:*:*:*:*:*:*
postgresql postgresql 9.4.2 cpe:2.3:a:postgresql:postgresql:9.4.2:*:*:*:*:*:*:*
postgresql postgresql 9.4.3 cpe:2.3:a:postgresql:postgresql:9.4.3:*:*:*:*:*:*:*
postgresql postgresql 9.4.4 cpe:2.3:a:postgresql:postgresql:9.4.4:*:*:*:*:*:*:*
postgresql postgresql 9.4.5 cpe:2.3:a:postgresql:postgresql:9.4.5:*:*:*:*:*:*:*
postgresql postgresql 9.4.6 cpe:2.3:a:postgresql:postgresql:9.4.6:*:*:*:*:*:*:*
postgresql postgresql 9.4.7 cpe:2.3:a:postgresql:postgresql:9.4.7:*:*:*:*:*:*:*
postgresql postgresql 9.4.8 cpe:2.3:a:postgresql:postgresql:9.4.8:*:*:*:*:*:*:*
postgresql postgresql 9.4.9 cpe:2.3:a:postgresql:postgresql:9.4.9:*:*:*:*:*:*:*
postgresql postgresql 9.4.10 cpe:2.3:a:postgresql:postgresql:9.4.10:*:*:*:*:*:*:*
postgresql postgresql 9.4.11 cpe:2.3:a:postgresql:postgresql:9.4.11:*:*:*:*:*:*:*
postgresql postgresql 9.4.12 cpe:2.3:a:postgresql:postgresql:9.4.12:*:*:*:*:*:*:*
postgresql postgresql 9.4.13 cpe:2.3:a:postgresql:postgresql:9.4.13:*:*:*:*:*:*:*
postgresql postgresql 9.4.14 cpe:2.3:a:postgresql:postgresql:9.4.14:*:*:*:*:*:*:*
postgresql postgresql 9.5 cpe:2.3:a:postgresql:postgresql:9.5:*:*:*:*:*:*:*
postgresql postgresql 9.5.1 cpe:2.3:a:postgresql:postgresql:9.5.1:*:*:*:*:*:*:*
postgresql postgresql 9.5.2 cpe:2.3:a:postgresql:postgresql:9.5.2:*:*:*:*:*:*:*
postgresql postgresql 9.5.3 cpe:2.3:a:postgresql:postgresql:9.5.3:*:*:*:*:*:*:*
postgresql postgresql 9.5.4 cpe:2.3:a:postgresql:postgresql:9.5.4:*:*:*:*:*:*:*
postgresql postgresql 9.5.5 cpe:2.3:a:postgresql:postgresql:9.5.5:*:*:*:*:*:*:*
postgresql postgresql 9.5.6 cpe:2.3:a:postgresql:postgresql:9.5.6:*:*:*:*:*:*:*
postgresql postgresql 9.5.7 cpe:2.3:a:postgresql:postgresql:9.5.7:*:*:*:*:*:*:*
postgresql postgresql 9.5.8 cpe:2.3:a:postgresql:postgresql:9.5.8:*:*:*:*:*:*:*
postgresql postgresql 9.5.9 cpe:2.3:a:postgresql:postgresql:9.5.9:*:*:*:*:*:*:*
postgresql postgresql 9.6 cpe:2.3:a:postgresql:postgresql:9.6:*:*:*:*:*:*:*
postgresql postgresql 9.6.1 cpe:2.3:a:postgresql:postgresql:9.6.1:*:*:*:*:*:*:*
postgresql postgresql 9.6.2 cpe:2.3:a:postgresql:postgresql:9.6.2:*:*:*:*:*:*:*
postgresql postgresql 9.6.3 cpe:2.3:a:postgresql:postgresql:9.6.3:*:*:*:*:*:*:*
postgresql postgresql 9.6.4 cpe:2.3:a:postgresql:postgresql:9.6.4:*:*:*:*:*:*:*
postgresql postgresql 9.6.5 cpe:2.3:a:postgresql:postgresql:9.6.5:*:*:*:*:*:*:*
postgresql postgresql 10 cpe:2.3:a:postgresql:postgresql:10:*:*:*:*:*:*:*

CVE-2017-12172 の参考情報

URL タグ
http://www.securityfocus.com/bid/101949 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039752 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:3402 Issue Tracking Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3403 Issue Tracking Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3404 Issue Tracking Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3405 Issue Tracking Third Party Advisory
https://www.postgresql.org/about/news/1801/ Issue Tracking Vendor Advisory
https://www.postgresql.org/support/security/ Issue Tracking Vendor Advisory
cvelogic Threat Intelligence