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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ansible | 2.9.6+dfsg-1 | DEBIAN-CVE-2020-10729 |
| Debian:13 | ansible | 2.9.6+dfsg-1 | DEBIAN-CVE-2020-10729 |
| Debian:14 | ansible | 2.9.6+dfsg-1 | DEBIAN-CVE-2020-10729 |
| PyPI | ansible | 2.9.6 | GHSA-r6h7-5pq2-j77h |
| PyPI | ansible | 2.9.6 | PYSEC-2021-105 |
Affected products (as reported)
Weakness: CWE-330
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1831089 x_refsource_MISC
- https://github.com/ansible/ansible/issues/34144 x_refsource_MISC
- DSA-4950 vendor-advisory, x_refsource_DEBIAN