CVE-2014-2686 Ansible unsafe evaluation of some strings

High 7.5 Published Updated

Ansible mishandles string evaluation, allowing attackers to execute arbitrary code via crafted inputs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-2686?

CVE-2014-2686 is a high-severity code injection vulnerability in n/a, published on 9 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Ansible prior to 1.5.4 mishandles the evaluation of some strings.

Weakness: CWE-670

Which versions are affected by CVE-2014-2686?

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

PackageAffectedFixed in
ansible PyPIAll versions1.5.4
ansible PyPIAll versions1.5.4
ansible PyPIAll versions1.5.4

Products include Redhat Ansible.

How do I fix CVE-2014-2686?

Upgrade ansible to 1.5.4 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2014-2686 being exploited?

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

Sources

Also known as DEBIAN-CVE-2014-2686, GHSA-49m5-2838-q2rv, PYSEC-2020-198.

Is CVE-2014-2686 in your software?

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

Check your SBOMs for free