Vulnerability · Published May 27, 2021 · Assigned by redhat

CVE-2020-10729

Medium 5.5

In plain English

A medium-severity weak randomness in Ansible. 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 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

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

Official description

A flaw was found in the use of insufficiently random values in Ansible. Two random password lookups of the same length generate the equal value as the template caching action for the same file since no re-evaluation happens. The highest threat from this vulnerability would be that all passwords are exposed at once for the file. This flaw affects Ansible Engine versions before 2.9.6.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ansible2.9.6+dfsg-1DEBIAN-CVE-2020-10729
Debian:13ansible2.9.6+dfsg-1DEBIAN-CVE-2020-10729
Debian:14ansible2.9.6+dfsg-1DEBIAN-CVE-2020-10729
PyPIansible2.9.6GHSA-r6h7-5pq2-j77h
PyPIansible2.9.6PYSEC-2021-105

Affected products (as reported)

VendorProductVersions
n/a Ansible ansible-engine 2.9.6

Weakness: CWE-330

References