5.5medium
Insufficiently random values in Ansible
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.43% (higher than 30% of CVEs)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-r6h7-5pq2-j77hPYSEC-2021-105
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
| Product or package | Versions | Reported by |
|---|---|---|
| Ansible | ansible-engine 2.9.6 | CVE List |
| ansible (PyPI) | before 2.9.6 | GitHub Advisory Database, PyPA Advisory Database |
| redhat ansible_engine | before 2.9.6 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| GitHub | 5.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | medium 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 | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Se encontró un fallo en el uso de valores insuficientemente aleatorios en Ansible. Dos búsquedas de contraseñas aleatorias de la misma longitud generan el mismo valor que la acción de almacenamiento en caché de la plantilla para el mismo archivo, ya que no se realiza una reevaluación. La mayor amenaza de esta vulnerabilidad sería que todas las contraseñas estén expuestas a la vez para el archivo. Este fallo afecta a Ansible Engine versiones anteriores a 2.9.6
References
| https://bugzilla.redhat.com/show_bug.cgi?id=1831089 | issue-tracking, report, vendor-advisory, web | |
| https://github.com/ansible/ansible/issues/34144 | exploit, issue-tracking, report, third-party-advisory, web | |
| https://www.debian.org/security/2021/dsa-4950 | third-party-advisory, vendor-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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-10729 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-r6h7-5pq2-j77h changed 2024-09-10 | CC-BY-4.0 |
| NVD | CVE-2020-10729 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-105 changed 2023-11-08 | CC-BY-4.0 |