First published: Wed Mar 18 2020(Updated: )
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.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/ansible | <0:2.7.17-1.el7ae | 0:2.7.17-1.el7ae |
redhat/ansible | <0:2.8.11-1.el7ae | 0:2.8.11-1.el7ae |
redhat/ansible | <0:2.8.11-1.el8ae | 0:2.8.11-1.el8ae |
redhat/ansible | <0:2.9.7-1.el7ae | 0:2.9.7-1.el7ae |
redhat/ansible | <0:2.9.7-1.el8ae | 0:2.9.7-1.el8ae |
debian/ansible | 2.7.7+dfsg-1+deb10u1 2.7.7+dfsg-1+deb10u2 2.10.7+merged+base+2.10.8+dfsg-1 7.3.0+dfsg-1 7.7.0+dfsg-3 | |
redhat/ansible-engine | <2.7.17 | 2.7.17 |
redhat/ansible-engine | <2.8.11 | 2.8.11 |
redhat/ansible-engine | <2.9.7 | 2.9.7 |
Redhat Ansible Engine | >=2.7.0<2.7.17 | |
Redhat Ansible Engine | >=2.8.0<2.8.11 | |
Redhat Ansible Engine | >=2.9.0<2.9.7 | |
Redhat Ansible Tower | <=3.4.5 | |
Redhat Ansible Tower | >=3.5.0<=3.5.5 | |
Redhat Ansible Tower | >=3.6.0<=3.6.3 | |
Redhat Ceph Storage | =2.0 | |
Redhat Ceph Storage | =3.0 | |
Redhat Openstack | =10 | |
Redhat Openstack | =13 | |
Redhat Openstack | =15 | |
Redhat Storage | =3.0 | |
Debian Debian Linux | =10.0 | |
pip/ansible | >=2.9.0a1<2.9.7 | 2.9.7 |
pip/ansible | >=2.8.0a1<2.8.11 | 2.8.11 |
pip/ansible | >=2.7.0a1<2.7.17 | 2.7.17 |
Currently, there is no mitigation for this issue except by removing manually the temporary created file after every run.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Appears in the following advisories)
CVE-2020-10685 is a vulnerability found in Ansible Engine when using modules which decrypt vault files.
Ansible Engine versions 2.7.x before 2.7.17, 2.8.x before 2.8.11, and 2.9.x before 2.9.7 are affected.
CVE-2020-10685 has a severity rating of medium.
To fix CVE-2020-10685, update Ansible Engine to version 2.7.17, 2.8.11, or 2.9.7.
You can find more information about CVE-2020-10685 on the Red Hat Bugzilla website.