CVE-2020-10729
MEDIUM 5.5CVSS 3.1Insufficiently random values in Ansible
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.
- Published
- 27 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-330
- Also known as
- GHSA-r6h7-5pq2-j77hPYSEC-2021-105
- Sources
- NVDJSONOSV GHSA-r6h7-5pq2-j77hJSONOSV PYSEC-2021-105JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
< 2.9.6 | 2.9.6 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | ansible | < 2.9.6 | 2.9.6 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1831089 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://github.com/ansible/ansible/issues/34144 · Exploit, Issue Tracking, Third Party Advisory, WEB, REPORT
- https://www.debian.org/security/2021/dsa-4950 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-10729 · ADVISORY
- https://github.com/ansible/ansible/pull/67429 · WEB
- https://github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9 · WEB
- https://github.com/advisories/GHSA-r6h7-5pq2-j77h · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 May 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 May 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Jun 2021)