Advisory

GHSA-r6h7-5pq2-j77h

Also known as: CVE-2020-10729, PYSEC-2021-105

Summary

Insufficiently random values in Ansible

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-06-15 16:10 UTC
Modified
2024-09-10 19:48 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 2.9.6 (ecosystem)

Fixed versions

2.9.6

Fix

  • Fixed version 2.9.6
    pip install --upgrade ansible==2.9.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences