CVE-2020-10685
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | ansible | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | ansible | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | ansible | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | ansible | Fix pending | UBUNTU-CVE-2020-10685 | |
| Ubuntu 18.04 | ansible | Fix pending | UBUNTU-CVE-2020-10685 | |
| Ubuntu 16.04 | ansible | Fix pending | ||
| Debian 14 | ansible | Fixed | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10685 |
| Debian 13 | ansible | Fixed | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10685 |
| Debian 12 | ansible | Fixed | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10685 |
| PyPI library | ansible | Fixed | 2.9.7 | GHSA-77g3-3j5w-64w4 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Ansible: affected: ansible-engine versions 2.7.x before 2.7.17, ansible-engine 2.8.x before 2.8.11, ansible-engine 2.9.x before 2.9.7, Ansible Tower <= 3.4.5, Ansible Tower <= 3.5.5, Ansible Tower <= 3.6.3
Vendor advisories:
- https://security.gentoo.org/glsa/202006-11 (vendor-advisory)
- https://www.debian.org/security/2021/dsa-4950 (vendor-advisory)
References
- https://security.gentoo.org/glsa/202006-11
- https://www.debian.org/security/2021/dsa-4950
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685
- https://github.com/ansible/ansible/pull/68433
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.