7.8
CWE
426
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2018-10875

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 SoftwareAffected VersionHow 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
pip/ansible>=2.6.0<2.6.1
2.6.1
pip/ansible>=2.5.0<2.5.6
2.5.6
pip/ansible<2.4.6
2.4.6
Redhat Ansible Engine=2.0
Redhat Ansible Engine=2.4
Redhat Ansible Engine=2.5
Redhat Ansible Engine=2.6
Microsoft Windows Server 2022=2.0
Microsoft Windows Server 2022=3.0
Redhat Gluster Storage=3.0.0
IBM Robotic Process Automation as a Service=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
All of
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
Suse Package Hub
SUSE SUSE Linux Enterprise Server=12
ubuntu/ansible<2.5.1+dfsg-1ubuntu0.1
2.5.1+dfsg-1ubuntu0.1
ubuntu/ansible<2.6.1+dfsg-1
2.6.1+dfsg-1
ubuntu/ansible<2.0.0.2-2ubuntu1.3
2.0.0.2-2ubuntu1.3
debian/ansible
2.7.7+dfsg-1+deb10u1
2.7.7+dfsg-1+deb10u2
2.10.7+merged+base+2.10.8+dfsg-1
7.3.0+dfsg-1
7.7.0+dfsg-3
9.5.1+dfsg-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the vulnerability ID?

    CVE-2018-10875

  • What is the severity of CVE-2018-10875?

    The severity of CVE-2018-10875 is high (CVSS score of 7.8).

  • How does CVE-2018-10875 impact Ansible?

    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.

  • Which versions of Ansible are affected by CVE-2018-10875?

    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.

  • How can I fix CVE-2018-10875 in Ansible?

    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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203