CVE-2020-10729: Insufficiently random values in Ansible

CVE-2020-10729 · Severity: low · CVSS 3.1 · Published 2021-05-27

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.

Technologies: ansible (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2020-10729 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2020-10729 being exploited in the wild.
How severe is CVE-2020-10729?
Low severity, with a CVSS score of 3.1, published 27 May 2021.
Which products and versions are affected?
ansible (PyPI) ECOSYSTEM:introduced=0,fixed=2.9.6.
Is there a fix for CVE-2020-10729?
Yes. ansible (PyPI): upgrade to 2.9.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2020-10729?
Check whether you run ansible (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • ansible (PyPI): upgrade to 2.9.6 or later
    pip install "ansible>=2.9.6"

Affected products

  • ansible (PyPI) ECOSYSTEM:introduced=0,fixed=2.9.6

Identifiers

  • CVE-2020-10729
  • GHSA-r6h7-5pq2-j77h
  • PYSEC-2021-105

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.