Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ansible
  4. ›
  5. CVE-2020-10729

CVE-2020-10729: Insufficiently random values in Ansible

June 15, 2021 (updated September 10, 2024)

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.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1831089
  • github.com/advisories/GHSA-r6h7-5pq2-j77h
  • github.com/ansible/ansible
  • github.com/ansible/ansible/blob/v2.9.6/changelogs/CHANGELOG-v2.9.rst
  • github.com/ansible/ansible/commit/c520d70bf4748c8ee6718a7d0d0254051ba1c2e9
  • github.com/ansible/ansible/issues/34144
  • github.com/ansible/ansible/pull/67429
  • github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2021-105.yaml
  • nvd.nist.gov/vuln/detail/CVE-2020-10729
  • www.debian.org/security/2021/dsa-4950

Code Behaviors & Features

Detect and mitigate CVE-2020-10729 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.9.6

Fixed versions

  • 2.9.6

Solution

Upgrade to version 2.9.6 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-330: Use of Insufficiently Random Values

Source file

pypi/ansible/CVE-2020-10729.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.