Vulnerability · Published May 11, 2020 · Assigned by redhat
CVE-2020-10685
Medium 5.0
In plain English
A medium-severity security flaw in Ansible from Red Hat. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 30% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10685 |
| Debian:13 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10685 |
| Debian:14 | ansible | 2.9.7+dfsg-1 | DEBIAN-CVE-2020-10685 |
| PyPI | ansible | 2.7.17 | GHSA-77g3-3j5w-64w4 |
| PyPI | ansible | 2.7.17, 2.8.11, 2.9.7 | PYSEC-2020-1 |
| PyPI | ansible | 2.8.11 | GHSA-77g3-3j5w-64w4 |
| PyPI | ansible | 2.9.7 | GHSA-77g3-3j5w-64w4 |
Affected products (as reported)
Weakness: CWE-459 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
References
- GLSA-202006-11 vendor-advisory
- DSA-4950 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-10685
- https://github.com/ansible/ansible/pull/68433