CVE-2020-10729

Ansible: two random password lookups in same task return same value

Published May 27, 2021 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4950-1 ansible security update
EUVD EUVD EUVD-2021-0005 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.
Github GHSA Github GHSA GHSA-r6h7-5pq2-j77h Insufficiently random values in Ansible
Ubuntu USN Ubuntu USN USN-7330-1 Ansible vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 4, 2024, 11:14 AM
Reserved
Mar 20, 2020, 12:00 AM
Status
Modified
Published
May 27, 2021, 7:15 PM
Modified
Jun 17, 2026, 2:48 AM
Severity
Moderate
Public date
Dec 21, 2017, 12:00 AM