GHSA-3xvg-x47j-x75wHighCVSS 7.8
Ansible Improper Input Validation vulnerability
🔗 CVE IDs covered (1)
📋 Description
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.
🎯 Affected products3
- pip/ansible:>= 0, < 2.4.6.0
- pip/ansible:>= 2.5, < 2.5.6
- pip/ansible:>= 2.6, < 2.6.1
🔗 References (20)
- https://nvd.nist.gov/vuln/detail/CVE-2018-10874
- https://access.redhat.com/errata/RHBA-2018:3788
- https://access.redhat.com/errata/RHSA-2018:2150
- https://access.redhat.com/errata/RHSA-2018:2151
- https://access.redhat.com/errata/RHSA-2018:2152
- https://access.redhat.com/errata/RHSA-2018:2166
- https://access.redhat.com/errata/RHSA-2018:2321
- https://access.redhat.com/errata/RHSA-2018:2585
- https://access.redhat.com/errata/RHSA-2019:0054
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
- https://access.redhat.com/security/cve/CVE-2018-10874
- https://bugzilla.redhat.com/show_bug.cgi?id=1596528
- https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396
- https://github.com/ansible/ansible/pull/42067
- https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb
- https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e
- https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7
- https://usn.ubuntu.com/4072-1
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml
- https://github.com/advisories/GHSA-3xvg-x47j-x75w