CVE-2020-1740

A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

公開: 2020-03-16 最終更新: 2026-06-16 Assigner: [email protected] ソース: [email protected]

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

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

CVE-2020-1740 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.14% 0.37% +0.23%
2 2026-05-30 0.04% 0.14% +0.11%
3 2025-11-21 0.04%

EPSS の全履歴 (全 15 件)

CVE-2020-1740 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
3.9 3.1 LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
0.8 2.7 [email protected]
4.7 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.0 3.6 [email protected]
1.9 2.0 LOW
AV:L/AC:M/Au:N/C:P/I:N/A:N クリックして展開
アクセス経路 (AV:L)
対象ホストにログインするなど、ローカルからの操作が前提。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:N)
完全性は損なわれない。
可用性への影響 (A:N)
可用性は損なわれない。
3.4 2.9 [email protected]

CVE-2020-1740 の弱点分類(列挙)

CVE-2020-1740 の GitHub Security Advisory

GHSA-vcg8-98q8-g7mj · 深刻度: medium · エコシステム: pip — Exposure of Sensitive Information to an Unauthorized Actor and Insecure Temporary File in Ansible

CVE-2020-1740 の OS トラッカー

vendor priority summary link
alpine medium CVE-2020-1740: 2 source package rows (ansible, ansible-base); 5 state rows across 5 repos (3.10-main, 3.11-main, 3.12-main, edge-community, edge-main); fixed 5, open 0. https://security.alpinelinux.org/vuln/CVE-2020-1740
debian not yet assigned CVE-2020-1740 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-2020-1740
gentoo normal CVE-2020-1740: 1 GLSA(s) (202006-11), 1 atom(s) (app-admin/ansible); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2020-1740
redhat low https://access.redhat.com/security/cve/CVE-2020-1740
suse low CVE-2020-1740 severity low: SUSE including 115 source package names (ansible-10-10.6.0-1.1, ansible-11-11.11.0-1.1, …), 246 product×package rows across 8 product lines (HPE Helion OpenStack 8, SUSE Linux Enterprise Server 11 SP3-TERADATA, … (8 product lines)): Fixed 246. https://www.suse.com/security/cve/CVE-2020-1740/
ubuntu medium CVE-2020-1740 medium priority: Ubuntu including 1 source packages (ansible), 17 status rows across 17 suites (bionic, eoan, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 12, needed 3, ignored 1, released 1. https://ubuntu.com/security/CVE-2020-1740

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

ベンダー 製品 バージョン 生の CPE
redhat ansible < 2.7.17 cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
redhat ansible >= 2.8.0, < 2.8.11 cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
redhat ansible >= 2.9.0, < 2.9.7 cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
redhat ansible_tower <= 3.3.4 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
redhat ansible_tower >= 3.3.5, <= 3.4.5 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
redhat ansible_tower >= 3.5.0, <= 3.5.5 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
redhat ansible_tower >= 3.6.0, <= 3.6.3 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
redhat cloudforms_management_engine 5.0 cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*
redhat openstack 13 cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
debian debian_linux 8.0 cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
fedoraproject fedora 30 cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
fedoraproject fedora 31 cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
fedoraproject fedora 32 cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*

CVE-2020-1740 の参考情報

URL タグ
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740 Issue Tracking Vendor Advisory
https://github.com/ansible/ansible/issues/67798 Issue Tracking Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
https://security.gentoo.org/glsa/202006-11 Third Party Advisory
https://www.debian.org/security/2021/dsa-4950 Third Party Advisory
cvelogic Threat Intelligence