CVE Vulnerabilities

CVE-2020-10685

Incomplete Cleanup

Published: May 11, 2020 | Modified: Nov 07, 2023
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
1.9 LOW
AV:L/AC:M/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

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.

Weakness

The product does not properly “clean up” and remove temporary or supporting resources after they have been used.

Affected Software

Name Vendor Start Version End Version
Ansible_engine Redhat 2.7.0 (including) 2.7.17 (excluding)
Ansible_engine Redhat 2.8.0 (including) 2.8.11 (excluding)
Ansible_engine Redhat 2.9.0 (including) 2.9.7 (excluding)
Ansible_tower Redhat * 3.4.5 (including)
Ansible_tower Redhat 3.5.0 (including) 3.5.5 (including)
Ansible_tower Redhat 3.6.0 (including) 3.6.3 (including)
Ansible Ubuntu bionic *
Ansible Ubuntu eoan *
Ansible Ubuntu trusty *
Ansible Ubuntu xenial *
Red Hat Ansible Engine 2.7 for RHEL 7 RedHat ansible-0:2.7.17-1.el7ae *
Red Hat Ansible Engine 2.8 for RHEL 7 RedHat ansible-0:2.8.11-1.el7ae *
Red Hat Ansible Engine 2.8 for RHEL 8 RedHat ansible-0:2.8.11-1.el8ae *
Red Hat Ansible Engine 2.9 for RHEL 7 RedHat ansible-0:2.9.7-1.el7ae *
Red Hat Ansible Engine 2.9 for RHEL 8 RedHat ansible-0:2.9.7-1.el8ae *
Red Hat Ansible Engine 2 for RHEL 7 RedHat ansible-0:2.9.7-1.el7ae *
Red Hat Ansible Engine 2 for RHEL 8 RedHat ansible-0:2.9.7-1.el8ae *
Red Hat Ansible Tower 3.4 for RHEL 7 RedHat ansible-tower-34/ansible-tower-memcached:1.4.15-28 *
Red Hat Ansible Tower 3.4 for RHEL 7 RedHat ansible-tower-35/ansible-tower-memcached:1.4.15-28 *
Red Hat Ansible Tower 3.4 for RHEL 7 RedHat ansible-tower-37/ansible-tower-memcached-rhel7:1.4.15-28 *
Red Hat Ansible Tower 3.5 for RHEL 7 RedHat ansible-tower-35/ansible-tower:3.5.6-1 *

Potential Mitigations

References