Skip to content

Ansible sets unsafe permissions for sources.list

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Jan 31, 2024

Package

pip ansible (pip)

Affected versions

< 1.5.5

Patched versions

1.5.5

Description

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 &quot;deb http://user:pass@server:port/&quot; format.

References

Published by the National Vulnerability Database Feb 20, 2020
Published to the GitHub Advisory Database May 17, 2022
Reviewed Jan 31, 2024
Last updated Jan 31, 2024

Severity

Moderate
5.5
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Weaknesses

CVE ID

CVE-2014-4659

GHSA ID

GHSA-6667-f46p-pg88

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.