Advisory

GHSA-6667-f46p-pg88

Also known as: CVE-2014-4659, PYSEC-2020-201

Summary

Ansible sets unsafe permissions for sources.list

Details

Ansible before 1.5.5 sets 0644 permissions for sources.list, which might allow local users to obtain sensitive credential information in opportunistic circumstances by reading a file that uses the "deb http://user:pass@server:port/" format.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 19:57 UTC
Modified
2024-09-10 22:20 UTC

Affected packages and fixes

ansible

PyPI · All systems

Affected

  • introduced 0, fixed 1.5.5 (ecosystem)

Fixed versions

1.5.5

Fix

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

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