7.8
CWE
426 20
Advisory Published
CVE Published
Updated

CVE-2018-10874: Input Validation

First published: Fri Jun 29 2018(Updated: )

In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attacker's control, allowing to run arbitrary code as a result.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Redhat Ansible Engine=2.0
Redhat Ansible Engine=2.4
Redhat Ansible Engine=2.5
Redhat Ansible Engine=2.6
Redhat Openstack=10
Redhat Openstack=12
Redhat Openstack=13
Redhat Virtualization=4.0
Redhat Virtualization Host=4.0
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
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 CVE-2018-10874?

    CVE-2018-10874 is a vulnerability in Ansible that allows arbitrary code execution.

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

    Versions 2.5.1+dfsg-1ubuntu0.1, 2.6.1+dfsg-1, and earlier are affected.

  • How can I fix CVE-2018-10874 in Ubuntu?

    Upgrade to version 2.5.1+dfsg-1ubuntu0.1 or later of the ansible package.

  • How can I fix CVE-2018-10874 in Redhat Ansible Engine?

    Upgrade to a version of Redhat Ansible Engine that is not affected by the vulnerability.

  • Is there any additional information available about CVE-2018-10874?

    Yes, you can find more information at the following references: http://www.securitytracker.com/id/1041396, https://access.redhat.com/errata/RHBA-2018:3788, https://access.redhat.com/errata/RHSA-2018:2150.

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