Skip to content

CVE-2020-10685 Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible

MediumCVSS 5.5 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebianRed Hat

Description

A flaw was found in Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when using modules which decrypts vault files such as assemble, script, unarchive, win_copy, aws_s3 or copy modules. The temporary directory is created in /tmp leaves the s ts unencrypted. On Operating Systems which /tmp is not a tmpfs but part of the root partition, the directory is only cleared on boot and the decryp emains when the host is switched off. The system will be vulnerable when the system is not running. So decrypted data must be cleared as soon as possible and the data which normally is encrypted ble.

Upgrade path

13 packages: 6 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/ansible(Ubuntu Pro 18.04) = 2.3.1.0+dfsg-2; = 2.5.0+dfsg-1; = 2.5.1+dfsg-1; = 2.5.1+dfsg-1ubuntu0.1 +6 more No fix listed No fix yet
ubuntu/ansible(Ubuntu Pro 20.04) = 2.8.3+dfsg-1; = 2.8.6+dfsg-1; = 2.9.2+dfsg-1; = 2.9.4+dfsg-1 +5 more No fix listed No fix yet
debian/ansible(Debian 12) < 2.9.7+dfsg-1 2.9.7+dfsg-1 Fixed
debian/ansible(Debian 13) < 2.9.7+dfsg-1 2.9.7+dfsg-1 Fixed
debian/ansible(Debian 14) < 2.9.7+dfsg-1 2.9.7+dfsg-1 Fixed
pypi ansible(PyPI) = 2.7.0; = 2.7.0a1; = 2.7.0b1; = 2.7.0rc1 +54 more 2.7.17, 2.8.11, 2.9.7 Fixed
redhat ansible engine >= 2.7.0, < 2.7.17; >= 2.8.0, < 2.8.11; >= 2.9.0, < 2.9.7 2.7.17, 2.8.11, 2.9.7 Fixed
redhat ansible tower <= 3.4.5; >= 3.5.0, <= 3.5.5; >= 3.6.0, <= 3.6.3 after 3.4.5, 3.5.5, 3.6.3 Fixed
debian linux = 10.0 No fix listed Versions listed
redhat ansible = ansible-engine 2.8.x before 2.8.11; = ansible-engine 2.9.x before 2.9.7; = ansible-engine versions 2.7.x before 2.7.17; = Ansible Tower <= 3.4.5 +2 more No fix listed Versions listed
redhat ceph storage = 2.0; = 3.0 No fix listed Versions listed
redhat openstack = 10; = 13; = 15 No fix listed Versions listed
redhat storage = 3.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi ansible(PyPI) >= 2.7.0a1, < 2.7.17 2.7.17
pypi ansible(PyPI) = 2.7.0 No fix listed
pypi ansible(PyPI) = 2.7.0a1 No fix listed
pypi ansible(PyPI) = 2.7.0b1 No fix listed
pypi ansible(PyPI) = 2.7.0rc1 No fix listed
pypi ansible(PyPI) = 2.7.0rc2 No fix listed
pypi ansible(PyPI) = 2.7.0rc3 No fix listed
pypi ansible(PyPI) = 2.7.0rc4 No fix listed
pypi ansible(PyPI) = 2.7.1 No fix listed
pypi ansible(PyPI) = 2.7.10 No fix listed
pypi ansible(PyPI) = 2.7.11 No fix listed
pypi ansible(PyPI) = 2.7.12 No fix listed
pypi ansible(PyPI) = 2.7.13 No fix listed
pypi ansible(PyPI) = 2.7.14 No fix listed
pypi ansible(PyPI) = 2.7.15 No fix listed
pypi ansible(PyPI) = 2.7.16 No fix listed
pypi ansible(PyPI) = 2.7.2 No fix listed
pypi ansible(PyPI) = 2.7.3 No fix listed
pypi ansible(PyPI) = 2.7.4 No fix listed
pypi ansible(PyPI) = 2.7.5 No fix listed
pypi ansible(PyPI) = 2.7.6 No fix listed
pypi ansible(PyPI) = 2.7.7 No fix listed
pypi ansible(PyPI) = 2.7.8 No fix listed
pypi ansible(PyPI) = 2.7.9 No fix listed
pypi ansible(PyPI) >= 2.8.0a1, < 2.8.11 2.8.11
Show 74 more
ProductAffected versionsFixed in
pypi ansible(PyPI) = 2.8.0 No fix listed
pypi ansible(PyPI) = 2.8.0a1 No fix listed
pypi ansible(PyPI) = 2.8.0b1 No fix listed
pypi ansible(PyPI) = 2.8.0rc1 No fix listed
pypi ansible(PyPI) = 2.8.0rc2 No fix listed
pypi ansible(PyPI) = 2.8.0rc3 No fix listed
pypi ansible(PyPI) = 2.8.1 No fix listed
pypi ansible(PyPI) = 2.8.10 No fix listed
pypi ansible(PyPI) = 2.8.2 No fix listed
pypi ansible(PyPI) = 2.8.3 No fix listed
pypi ansible(PyPI) = 2.8.4 No fix listed
pypi ansible(PyPI) = 2.8.5 No fix listed
pypi ansible(PyPI) = 2.8.6 No fix listed
pypi ansible(PyPI) = 2.8.7 No fix listed
pypi ansible(PyPI) = 2.8.8 No fix listed
pypi ansible(PyPI) = 2.8.9 No fix listed
pypi ansible(PyPI) >= 2.9.0a1, < 2.9.7 2.9.7
pypi ansible(PyPI) = 2.9.0 No fix listed
pypi ansible(PyPI) = 2.9.0b1 No fix listed
pypi ansible(PyPI) = 2.9.0rc1 No fix listed
pypi ansible(PyPI) = 2.9.0rc2 No fix listed
pypi ansible(PyPI) = 2.9.0rc3 No fix listed
pypi ansible(PyPI) = 2.9.0rc4 No fix listed
pypi ansible(PyPI) = 2.9.0rc5 No fix listed
pypi ansible(PyPI) = 2.9.1 No fix listed
pypi ansible(PyPI) = 2.9.2 No fix listed
pypi ansible(PyPI) = 2.9.3 No fix listed
pypi ansible(PyPI) = 2.9.4 No fix listed
pypi ansible(PyPI) = 2.9.5 No fix listed
pypi ansible(PyPI) = 2.9.6 No fix listed
pypi ansible(PyPI) >= 2.7.0, < 2.7.17 2.7.17
pypi ansible(PyPI) >= 2.8.0, < 2.8.11 2.8.11
pypi ansible(PyPI) >= 2.9.0, < 2.9.7 2.9.7
debian/ansible(Debian:12) < 2.9.7+dfsg-1 2.9.7+dfsg-1
debian/ansible(Debian:13) < 2.9.7+dfsg-1 2.9.7+dfsg-1
debian/ansible(Debian:14) < 2.9.7+dfsg-1 2.9.7+dfsg-1
redhat ansible engine >= 2.7.0, < 2.7.17 2.7.17
redhat ansible engine >= 2.8.0, < 2.8.11 2.8.11
redhat ansible engine >= 2.9.0, < 2.9.7 2.9.7
redhat ansible tower <= 3.4.5 No fix listed
redhat ansible tower >= 3.5.0, <= 3.5.5 No fix listed
redhat ansible tower >= 3.6.0, <= 3.6.3 No fix listed
redhat ceph storage = 2.0 No fix listed
redhat ceph storage = 3.0 No fix listed
redhat openstack = 10 No fix listed
redhat openstack = 13 No fix listed
redhat openstack = 15 No fix listed
redhat storage = 3.0 No fix listed
debian linux = 10.0 No fix listed
redhat ansible = ansible-engine versions 2.7.x before 2.7.17 No fix listed
redhat ansible = ansible-engine 2.8.x before 2.8.11 No fix listed
redhat ansible = ansible-engine 2.9.x before 2.9.7 No fix listed
redhat ansible = Ansible Tower <= 3.4.5 No fix listed
redhat ansible = Ansible Tower <= 3.5.5 No fix listed
redhat ansible = Ansible Tower <= 3.6.3 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.3.1.0+dfsg-2 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.0+dfsg-1 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.1+dfsg-1 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.1+dfsg-1ubuntu0.1 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.1+dfsg-1ubuntu0.1+esm1 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.1+dfsg-1ubuntu0.1+esm2 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.1+dfsg-1ubuntu0.1+esm3 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.1+dfsg-1ubuntu0.1+esm4 No fix listed
ubuntu/ansible(Ubuntu:Pro:18.04) = 2.5.1+dfsg-1ubuntu0.1+esm5 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.8.3+dfsg-1 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.8.6+dfsg-1 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.9.2+dfsg-1 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.9.4+dfsg-1 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.9.6+dfsg-1 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.9.6+dfsg-1ubuntu0.1~esm1 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.9.6+dfsg-1ubuntu0.1~esm2 No fix listed
ubuntu/ansible(Ubuntu:Pro:20.04) = 2.9.6+dfsg-1ubuntu0.1~esm3 No fix listed

References