CVE-2017-7481

Ansible before versions 2.3.1.0 and 2.4.0.0 fails to properly mark lookup-plugin results as unsafe. If an attacker could control the results of lookup() calls, they could inject Unicode strings to be parsed by the jinja2 templating system, resulting in code execution. By default, the jinja2 templating language is now marked as 'unsafe' and is not evaluated.

公開: 2018-07-19 最終更新: 2024-11-21 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2017-7481 は高リスク(71.1/100)。CVSS 深刻度は重大。悪用される可能性が高い(EPSS 4.31%、89 パーセンタイル) 推奨対応: 悪用可能性が高いため、影響範囲の確認と修補の優先付けを推奨します。

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

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

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-04-21 3.51% 4.31% +0.81%
2 2026-04-13 1.92% 3.51% +1.58%
3 2026-02-02 1.92%

EPSS の全履歴 (全 20 件)

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

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 5.9 [email protected]
5.3 3.0 MEDIUM
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.6 3.6 [email protected]
7.5 2.0 HIGH
AV:N/AC:L/Au:N/C:P/I:P/A:P クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:L)
手順が短く、再現性が高い。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:P)
可用性は部分的に損なわれる。
10.0 6.4 [email protected]

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

CVE-2017-7481 の GitHub Security Advisory

GHSA-w578-j992-554x · 深刻度: critical · エコシステム: pip — Ansible fails to properly mark lookup-plugin results as unsafe

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

vendor priority summary link
debian not yet assigned CVE-2017-7481 not yet assigned priority: Debian including 1 source packages (ansible), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2017-7481
redhat medium https://access.redhat.com/security/cve/CVE-2017-7481
suse medium CVE-2017-7481 severity moderate: SUSE including 13 source package names (ansible-10-10.6.0-1.1, ansible-11-11.11.0-1.1, …), 13 product×package rows across 6 product lines (SUSE Linux Enterprise Server 11 SP3-TERADATA, SUSE Linux Enterprise Server 16.0, … (6 product lines)): Fixed 13. https://www.suse.com/security/cve/CVE-2017-7481/
ubuntu low CVE-2017-7481 low priority: Ubuntu including 1 source packages (ansible), 20 status rows across 20 suites (artful, bionic, cosmic, disco, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial, yakkety, zesty): not-affected 15, ignored 3, released 2. https://ubuntu.com/security/CVE-2017-7481

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

ベンダー 製品 バージョン 生の CPE
redhat openshift_container_platform 3.3 cpe:2.3:a:redhat:openshift_container_platform:3.3:*:*:*:*:*:*:*
redhat openshift_container_platform 3.4 cpe:2.3:a:redhat:openshift_container_platform:3.4:*:*:*:*:*:*:*
redhat openshift_container_platform 3.5 cpe:2.3:a:redhat:openshift_container_platform:3.5:*:*:*:*:*:*:*
redhat openstack 10 cpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:*
redhat openstack 11 cpe:2.3:a:redhat:openstack:11:*:*:*:*:*:*:*
redhat storage_console 2.0 cpe:2.3:a:redhat:storage_console:2.0:*:*:*:*:*:*:*
redhat virtualization 4.1 cpe:2.3:a:redhat:virtualization:4.1:*:*:*:*:*:*:*
redhat virtualization_manager 4.1 cpe:2.3:a:redhat:virtualization_manager:4.1:*:*:*:*:*:*:*
redhat gluster_storage 3.2 cpe:2.3:a:redhat:gluster_storage:3.2:*:*:*:*:*:*:*
redhat ansible_engine < 2.3.1.0 cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*
redhat ansible_engine >= 2.3.2.0, < 2.4.0.0 cpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:*
canonical ubuntu_linux 16.04 cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 18.04 cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
canonical ubuntu_linux 19.04 cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

CVE-2017-7481 の参考情報

URL タグ
http://www.securityfocus.com/bid/98492 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1244 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1334 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1476 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1499 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:1599 Vendor Advisory
https://access.redhat.com/errata/RHSA-2017:2524 Vendor Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7481 Issue Tracking Patch Vendor Advisory
https://github.com/ansible/ansible/commit/ed56f51f185a1ffd7ea57130d260098686fcc7c2 Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html Mailing List Third Party Advisory
https://usn.ubuntu.com/4072-1/ Third Party Advisory
cvelogic Threat Intelligence