First published: Fri Jun 29 2018(Updated: )
A flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/ansible | <2.4.6 | 2.4.6 |
redhat/ansible | <2.5.6 | 2.5.6 |
redhat/ansible | <2.6.1 | 2.6.1 |
Redhat Ansible Engine | =2.0 | |
Redhat Ansible Engine | =2.4 | |
Redhat Ansible Engine | =2.5 | |
Redhat Ansible Engine | =2.6 | |
Redhat Ceph Storage | =2.0 | |
Redhat Ceph Storage | =3.0 | |
Redhat Gluster Storage | =3.0.0 | |
Redhat Openshift | =3.0 | |
Redhat Openstack | =10 | |
Redhat Openstack | =12 | |
Redhat Openstack | =13 | |
Redhat Virtualization | =4.0 | |
Redhat Virtualization Host | =4.0 | |
Debian Debian Linux | =9.0 | |
Suse Package Hub | ||
SUSE SUSE Linux Enterprise Server | =12 | |
Canonical Ubuntu Linux | =16.04 | |
Canonical Ubuntu Linux | =18.04 | |
Canonical Ubuntu Linux | =19.04 | |
Debian Debian Linux | =8.0 | |
pip/ansible | >=2.6.0a1<2.6.1 | 2.6.1 |
pip/ansible | >=2.5.0a1<2.5.6 | 2.5.6 |
pip/ansible | <2.4.6.0 | 2.4.6.0 |
All of | ||
Suse Package Hub | ||
SUSE SUSE Linux Enterprise Server | =12 | |
debian/ansible | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 2.10.7+merged+base+2.10.17+dfsg-0+deb11u2 7.7.0+dfsg-3+deb12u1 11.1.0+dfsg-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-10875
The severity of CVE-2018-10875 is high (CVSS score of 7.8).
CVE-2018-10875 allows an attacker to execute arbitrary code by altering the ansible.cfg file and making it point to a plugin or module path under their control.
Ansible versions 2.5.1+dfsg-1ubuntu0.1 and earlier, as well as 2.6.1+dfsg-1 and earlier, are affected by CVE-2018-10875.
To fix CVE-2018-10875 in Ansible, upgrade to version 2.5.1+dfsg-1ubuntu0.1 or later for Ubuntu, or version 2.6.1+dfsg-1 or later for all other distributions.