CVE-2020-10685
MEDIUM 5.5CVSS 3.1Exposure of Resource to Wrong Sphere and Insecure Temporary File in Ansible
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.
- Published
- 11 May 2020
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-377CWE-459CWE-668
- Also known as
- GHSA-77g3-3j5w-64w4PYSEC-2020-1
- Sources
- NVDJSONOSV GHSA-77g3-3j5w-64w4JSONOSV PYSEC-2020-1JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 1.9 | AV:L/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.7.17 | 2.7.17 |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.11 | 2.8.11 |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
>= 2.9.0, < 2.9.7 | 2.9.7 |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
<= 3.4.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.5.0, <= 3.5.5 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* |
>= 3.6.0, <= 3.6.3 | |
| NVD | redhat | ceph_storagecpe:2.3:a:redhat:ceph_storage:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | redhat | ceph_storagecpe:2.3:a:redhat:ceph_storage:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* |
= 10 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* |
= 13 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:15:*:*:*:*:*:*:* |
= 15 | |
| NVD | redhat | storagecpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | ansible | >= 2.7.0a1, < 2.7.17 | 2.7.17 |
| OSV | PyPI | ansible | >= 2.8.0a1, < 2.8.11 | 2.8.11 |
| OSV | PyPI | ansible | >= 2.9.0a1, < 2.9.7 | 2.9.7 |
| OSV | PyPI | ansible | >= 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 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685 · Issue Tracking, Patch, Vendor Advisory, WEB, REPORT
- https://github.com/ansible/ansible/pull/68433 · Patch, Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202006-11 · Third Party Advisory, WEB, ADVISORY
- https://www.debian.org/security/2021/dsa-4950 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-10685 · ADVISORY
- https://github.com/ansible/ansible/commit/4e1fe80e681fa466626e9dea53efe6b0253ea1b2 · WEB
- https://github.com/ansible/ansible/commit/51d2514753544a9d58cd7524e27e696b2c944fb5 · WEB
- https://github.com/ansible/ansible/commit/e1273b6faf036ed84e4f4edee85b888a4e256aee · WEB
- https://github.com/advisories/GHSA-77g3-3j5w-64w4 · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-1.yaml · WEB
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 11 May 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 May 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 7 Apr 2021)