低危 使用Ansible Vault编辑加密文件时,在Ansible Engine中发现一个漏洞

CVE编号

CVE-2020-1740

利用情况

暂无

补丁情况

官方补丁

披露时间

2020-03-17
漏洞描述
使用Ansible Vault编辑加密文件时,在Ansible Engine中发现一个漏洞。当用户执行“ ansible-vault编辑”时,同一计算机上的另一个用户可以读取旧密钥和新密钥,因为它是使用mkstemp在临时文件中创建的,并且关闭了返回的文件描述符,并且调用了write_data方法来写入文件中的现有机密。此方法将删除文件,然后再不安全地重新创建它。 2.7.x,2.8.x和2.9.x分支中的所有版本都被认为是易受攻击的。

解决建议
目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法:

https://www.ansible.com/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 redhat ansible * Up to
(including)
2.7.16
运行在以下环境
应用 redhat ansible * From
(including)
2.8.0
Up to
(including)
2.8.8
运行在以下环境
应用 redhat ansible * From
(including)
2.9.0
Up to
(including)
2.9.5
运行在以下环境
应用 redhat ansible_tower * Up to
(including)
3.3.4
运行在以下环境
应用 redhat ansible_tower * From
(including)
3.3.5
Up to
(including)
3.4.5
运行在以下环境
应用 redhat ansible_tower * From
(including)
3.5.0
Up to
(including)
3.5.5
运行在以下环境
应用 redhat ansible_tower * From
(including)
3.6.0
Up to
(including)
3.6.3
运行在以下环境
应用 redhat cloudforms_management_engine 5.0 -
运行在以下环境
应用 redhat openstack 13.0 -
运行在以下环境
系统 alpine_3.10 ansible * Up to
(excluding)
2.8.11-r0
运行在以下环境
系统 alpine_3.11 ansible * Up to
(excluding)
2.9.7-r0
运行在以下环境
系统 alpine_3.12 ansible * Up to
(excluding)
2.9.7-r0
运行在以下环境
系统 alpine_3.13 ansible-base * Up to
(excluding)
2.9.7-r0
运行在以下环境
系统 alpine_3.14 ansible-base * Up to
(excluding)
2.9.7-r0
运行在以下环境
系统 alpine_3.15 ansible-base * Up to
(excluding)
2.9.7-r0
运行在以下环境
系统 alpine_3.9 ansible * Up to
(excluding)
2.7.17-r0
运行在以下环境
系统 amazon_2 ansible * Up to
(excluding)
2.9.9-1.amzn2
运行在以下环境
系统 debian_10 ansible * Up to
(excluding)
2.7.7+dfsg-1+deb10u1
运行在以下环境
系统 debian_11 ansible * Up to
(excluding)
2.9.7+dfsg-1
运行在以下环境
系统 debian_12 ansible * Up to
(excluding)
2.9.7+dfsg-1
运行在以下环境
系统 debian_8 ansible * Up to
(excluding)
1.7.2+dfsg-2+deb8u2
运行在以下环境
系统 fedora_30 ansible * Up to
(excluding)
2.9.7-1.fc30
运行在以下环境
系统 fedora_31 ansible * Up to
(excluding)
2.9.7-1.fc31
运行在以下环境
系统 fedora_32 ansible * Up to
(excluding)
2.9.7-1.fc32
运行在以下环境
系统 fedora_EPEL_7 ansible * Up to
(excluding)
2.9.7-1.el7
运行在以下环境
系统 fedora_EPEL_8 ansible * Up to
(excluding)
2.9.7-1.el8
运行在以下环境
系统 opensuse_Leap_15.3 ansible * Up to
(excluding)
2.9.21-bp153.2.3.1
阿里云评分
3.1
  • 攻击路径
    本地
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-200 信息暴露
CWE-377 不安全的临时文件
阿里云安全产品覆盖情况