CVE-2020-10729
JSON

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 packageVersionsReported by
Ansibleansible-engine 2.9.6CVE List
ansible (PyPI)before 2.9.6GitHub Advisory Database, PyPA Advisory Database
redhat ansible_enginebefore 2.9.6NVD
debian debian_linux10.0NVD

All scores

GitHub5.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2020-10729 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-r6h7-5pq2-j77h changed 2024-09-10CC-BY-4.0
NVDCVE-2020-10729 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-105 changed 2023-11-08CC-BY-4.0