Code Injection in Ansible - CVE-2014-4966

 

Code Injection in Ansible - CVE-2014-4966

Published: February 18, 2020 / Updated: July 17, 2020


Vulnerability identifier: #VU30362
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-4966
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in (1) crafted lookup('pipe') calls or (2) crafted Jinja2 data. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Ansible
Gentoo Linux
Fedora
ansible (Alpine package)
ansible

How to mitigate CVE-2014-4966

Update to version 1.6.7.

Ansible - update to 1.6.7
ansible (Alpine package) - update to 1.6.7-r0
ansible - addressed in versions 1.6.7-1.el6, 1.6.8-1.el6, 1.6.9-1.el6, 1.6.10-1.el6, 1.7-1.el6

External References

Related Security Bulletins