概要
遠端 Red Hat 主機缺少一個或多個安全性更新。
說明
現已提供適用於 Ansible Engine 2.5 版的 ansible 更新。
Red Hat 產品安全性團隊已將此更新評等為具有「中等」安全性影響。可從〈參照〉一節的 CVE 連結中取得每個弱點之常見弱點評分系統 (CVSS) 的基本分數,其中包含有關嚴重性評等的詳細資訊。
Ansible 是一種簡單的模組驅動組態管理、多重節點部署及遠端工作執行系統。Ansible 在 SSH 上運作,且不需要於遠端節點上安裝任何軟體或程序。可用任何語言撰寫延伸模組,並可自動傳輸至受管理的機器。
下列套件已升級至更新的上游版本:
ansible (2.5.6)
安全性修正:
* ansible:執行 ad-hoc 命令時從目前的工作目錄載入 Inventory 變數,進而導致程式碼執行 (CVE-2018-10874)
* ansible:正在從目前的工作目錄讀取 ansible.cfg,可能导致程式碼執行 (CVE-2018-10875)
如需安全性問題的詳細資料,包括影響、CVSS 分數及其他相關資訊,請參閱〈參照〉一節列出的 CVE 頁面。
此問題由 Brian Coca (Red Hat) 和 Michael Scherer (OSAS) 發現。
錯誤修正:
* 還原 module_utils.basic.BOOLEANS 變數,以便實現其與舊版 ansible 中模組 API 的回溯相容。
* lineinfile - 新增使用空 regexp 時的警告 (https://github.com/ ansible/ansible/issues/29443)
* apt - 修復 debian6 上的 apt-mark (https://github.com/ansible/ansible/pull/ 41530)
* 複製模組 - 已修復具有相對路徑的遞迴複製 (https://github.com/ ansible/ansible/pull/40166)
* 針對所有情況更正除錯顯示 https://github.com/ansible/ansible/pull /41331
* eos_l2_interface - 修復 eapi (https://github.com/ansible/ansible/pull/42270)
* group_by - 支援隱式 localhost (https://github.com/ansible/ansible/ pull/41860)
* influxdb_query - 已修復使用共用傳回「results」造成非預期錯誤的問題。該傳回重新命名為「query_results」
* junos_config - 修復確認提交逾時問題 (https://github.com/ansible /ansible/pull/41527)
* lineinfile - 修復與 BOF 一起使用時的 insertbefore,以避免插入重複的行 (https://github.com/ansible/ansible/issues/38219)
* nsupdate - 允許 hmac-sha384 https://github.com/ansible/ansible/pull/42209
* nxos_linkagg - 修復問題 (https://github.com/ansible/ansible/pull/41550)。
* nxos_vxlan_vtep_vni - 修復問題 (https://github.com/ansible/ansible/pull/ 42240)
* 使用正確的 conn 資訊進行 reset_connection https://github.com/ansible/ ansible/issues/27520
* 更正 service_facts systemd 狀態偵測 https://github.com/ansible /ansible/issues/40809
* 正確檢查 hostvars 的 vars 字詞 https://github.com/ansible/ansible/ pull/41819
* vyos_vlan - 修復彙總組態問題 (https://github.com/ansible/ ansible/pull/41638)
* win_domain - 修復其中一個 AD cmdlet 的錯字 https://github.com/ansible /ansible/issues/41536
* win_iis_webapppool - 將部分模組輸出重新導向至 NULL,以便 Ansible 讀取輸出 JSON https://github.com/ansible/ansible/issues/40874
* win_updates - 已修復在沒有任何錯誤的情況下非同步執行 win_updates 失敗的問題
* winrm - 確認將 pexpect 設定為不回應失敗時的輸入,然後手動進行功能健全檢查 https://github.com/ansible/ansible/issues/ 41865
解決方案
更新受影響的 ansible 和/或 ansible-doc 套件。
Plugin 詳細資訊
檔案名稱: redhat-RHSA-2018-2150.nasl
代理程式: unix
支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus
風險資訊
媒介: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P
媒介: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
時間媒介: CVSS:3.0/E:U/RL:O/RC:C
弱點資訊
CPE: p-cpe:/a:redhat:enterprise_linux:ansible, p-cpe:/a:redhat:enterprise_linux:ansible-doc, cpe:/o:redhat:enterprise_linux:7
必要的 KB 項目: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu