CVE-2020-10729: Medium severity redhat Ansible Engine vulnerability

Published May 4, 2020
·
Updated

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

10 affected componentsFixes available
pip/ansible<2.9.6
2.9.6
redhat/ansible-engine<2.9.6
2.9.6
debian/ansible
2.10.7+merged+base+2.10.17+dfsg-0+deb11u12.10.7+merged+base+2.10.17+dfsg-0+deb11u27.7.0+dfsg-3+deb12u111.2.0+dfsg-1
All of the following
redhat Ansible Engine<2.9.6
Any of the following
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
Debian Debian Linux=10.0
redhat Ansible Engine<2.9.6
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/ansible to a version that resolves this vulnerability.

    Fixed in 2.9.6
  2. Upgrade

    Upgrade redhat/ansible-engine to a version that resolves this vulnerability.

    Fixed in 2.9.6
  3. Upgrade

    Upgrade debian/ansible to 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
  4. Upgrade

    Upgrade Ansible Engine to a version that resolves this vulnerability.

    Fixed in 2.9.6

Event History

May 4, 2020
Data Sourced
03:54 PM
DescriptionSeverityAffected Software
Feb 16, 2021
Data Sourced
via Red Hat·08:07 PM
DescriptionSeverityAffected Software
May 27, 2021
CVE Published
via MITRE·06:46 PM
Data Sourced
via MITRE·06:46 PM
DescriptionWeakness
Data Sourced
07:15 PM
Weakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·07:15 PM
DescriptionSeverity
Jun 15, 2021
Advisory Published
via GitHub·04:10 PM
Data Sourced
via GitHub·04:10 PM
DescriptionSeverityWeaknessAffected Software
Sep 10, 2024
Advisory Published
via GitHub·07:16 PM
Nov 21, 2024
Updated
via NVD·04:55 AM
Affected Software
Jun 17, 2026
Updated
via NVD·02:48 AM
Affected Software

Frequently Asked Questions

1

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.

2

What is the severity of CVE-2020-10729?

The severity of CVE-2020-10729 is medium, with a severity score of 5.5.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203