CVE-2020-10729: Medium severity redhat Ansible Engine vulnerability
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.
Other sources
Ansible template caching generates identical values when consecutive facts are created from password lookup with same length. Values should be different to prevent generate same passwords for different fields which can be used for different services or configurations and avoid exposing all of them at once.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/ansibleto a version that resolves this vulnerability.Fixed in 2.9.6 - Upgrade
Upgrade
redhat/ansible-engineto a version that resolves this vulnerability.Fixed in 2.9.6 - Upgrade
Upgrade
debian/ansibleto a version that resolves this vulnerability.Fixed in 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1Fixed in 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2Fixed in 7.7.0+dfsg-3+deb12u1Fixed in 11.2.0+dfsg-1 - Upgrade
Upgrade
Ansible Engineto a version that resolves this vulnerability.Fixed in 2.9.6
Event History
Frequently Asked Questions
What is CVE-2020-10729?
CVE-2020-10729 is a vulnerability in Ansible that allows for the generation of insufficiently random values, potentially leading to the exposure of sensitive information.
What is the severity of CVE-2020-10729?
The severity of CVE-2020-10729 is medium, with a severity score of 5.5.
How does CVE-2020-10729 affect Ansible?
CVE-2020-10729 affects Ansible by allowing two random password lookups of the same length to generate equal values, potentially exposing all passwords due to template caching.
Which software versions are affected by CVE-2020-10729?
The affected software versions include Ansible 2.9.6, Redhat Ansible Engine up to version 2.9.6, and Debian Debian Linux 10.0 with specific package versions.
How can I fix CVE-2020-10729?
To fix CVE-2020-10729, it is recommended to update to the latest patched version of Ansible or apply the specific remedy provided by the vendor.