CVE-2014-4659 Ansible sets unsafe permissions for sources.list
Local attackers can read sensitive credentials from Ansible sources.list files due to insecure file permissions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-4659?
CVE-2014-4659 is a medium-severity vulnerability in n/a, published on 20 Feb 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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 "deb http://user:pass@server:port/" format.
Weakness: CWE-522
Which versions are affected by CVE-2014-4659?
3 open source packages ship an affected version, including ansible. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ansible PyPI | All versions | 1.5.5 |
ansible PyPI | All versions | 1.5.5 |
ansible PyPI | All versions | 1.5.5 |
Products include Redhat Ansible.
How do I fix CVE-2014-4659?
Upgrade ansible to 1.5.5 or later.
Is CVE-2014-4659 being exploited?
There is no known exploitation of CVE-2014-4659 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2014-4659, GHSA-6667-f46p-pg88, PYSEC-2020-201.