GitHub Advisoryadvisory · PyPI
GHSA-3xvg-x47j-x75w Ansible Improper Input Validation vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2018-10874
- Ecosystem
- PyPI
- Packages
- ansible
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-20, CWE-426
- Reviewed
- 2023-02-08
Affected packages
• PyPI ansible: < 2.4.6.0 → fixed in 2.4.6.0
• PyPI ansible: >= 2.5, < 2.5.6 → fixed in 2.5.6
• PyPI ansible: >= 2.6, < 2.6.1 → fixed in 2.6.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.
Related
Alias · CVE (1)
- CVE-2018-10874 In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-10874 advisory
- https://github.com/ansible/ansible/pull/42067 web
- https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb web
- https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e web
- https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7 web
- https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396 web
- https://usn.ubuntu.com/4072-1 web
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml web
- https://github.com/ansible/ansible package
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1596528 web
- https://access.redhat.com/security/cve/CVE-2018-10874 web
- https://access.redhat.com/errata/RHSA-2019:0054 web
- https://access.redhat.com/errata/RHSA-2018:2585 web
- https://access.redhat.com/errata/RHSA-2018:2321 web
- https://access.redhat.com/errata/RHSA-2018:2166 web
- https://access.redhat.com/errata/RHSA-2018:2152 web
- https://access.redhat.com/errata/RHSA-2018:2151 web
- https://access.redhat.com/errata/RHSA-2018:2150 web
- https://access.redhat.com/errata/RHBA-2018:3788 web