CVE-2014-4660 Ansible discloses credential information

Medium 5.5 Published Updated

Local attackers can read sensitive credentials from Ansible-generated filenames created from apt sources.list entries containing embedded authentication details.

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-4660?

CVE-2014-4660 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 constructs filenames containing user and password fields on the basis of deb lines in sources.list, which might allow local users to obtain sensitive credential information in opportunistic circumstances by leveraging existence of a file that uses the "deb http://user:pass@server:port/" format.

Weakness: CWE-522

Which versions are affected by CVE-2014-4660?

3 open source packages ship an affected version, including ansible. It affects 1 product.

PackageAffectedFixed in
ansible PyPIAll versions1.5.5
ansible PyPIAll versions1.5.5
ansible PyPIAll versions1.5.5

Products include Redhat Ansible.

How do I fix CVE-2014-4660?

Upgrade ansible to 1.5.5 or later.

Is CVE-2014-4660 being exploited?

There is no known exploitation of CVE-2014-4660 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2014-4660, GHSA-5xm4-jmpw-p6j3, PYSEC-2020-202, UBUNTU-CVE-2014-4660.

Is CVE-2014-4660 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free