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.

Severity (CVSS 3.1)5.0Medium
Exploit odds (30 days)0.4%top 69.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12ansible2.9.7+dfsg-1DEBIAN-CVE-2020-10685
Debian:13ansible2.9.7+dfsg-1DEBIAN-CVE-2020-10685
Debian:14ansible2.9.7+dfsg-1DEBIAN-CVE-2020-10685
PyPIansible2.7.17GHSA-77g3-3j5w-64w4
PyPIansible2.7.17, 2.8.11, 2.9.7PYSEC-2020-1
PyPIansible2.8.11GHSA-77g3-3j5w-64w4
PyPIansible2.9.7GHSA-77g3-3j5w-64w4

Affected products (as reported)

VendorProductVersions
Red Hat Ansible ansible-engine versions 2.7.x before 2.7.17ansible-engine 2.8.x before 2.8.11ansible-engine 2.9.x before 2.9.7Ansible Tower <= 3.4.5Ansible Tower <= 3.5.5Ansible Tower <= 3.6.3

Weakness: CWE-459 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

References