CVE-2014-4967 Ansible Arbitrary Code Execution
Remote attackers with access to a managed host can execute arbitrary code by injecting arguments into Ansible facts.
- 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-4967?
CVE-2014-4967 is a critical command injection vulnerability in n/a, published on 18 Feb 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Multiple argument injection vulnerabilities in Ansible before 1.6.7 allow remote attackers to execute arbitrary code by leveraging access to an Ansible managed host and providing a crafted fact, as demonstrated by a fact with (1) a trailing " src=" clause, (2) a trailing " temp=" clause, or (3) a trailing " validate=" clause accompanied by a shell command.
Weakness: CWE-74
Which versions are affected by CVE-2014-4967?
3 open source packages ship an affected version, including ansible. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ansible PyPI | All versions | 1.6.7 |
ansible PyPI | All versions | 1.6.7 |
ansible PyPI | All versions | 1.6.7 |
Products include Redhat Ansible.
How do I fix CVE-2014-4967?
Upgrade ansible to 1.6.7 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2014-4967 being exploited?
There is no known exploitation of CVE-2014-4967 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2014-4967, GHSA-64cw-m57j-65xj, PYSEC-2020-205, UBUNTU-CVE-2014-4967.