Affected versions
Version ranges need review.
PyPIansible
- Affected versions
- <2.4.6.0 || >=2.5 <2.5.6 || >=2.6 <2.6.1 || =1.0 || =1.1 || =1.2 || =1.2.1 || =1.2.2 || =1.2.3 || =1.3.0 || =1.3.1 || =1.3.2 || =1.3.3 || =1.3.4 || =1.4 || =1.4.1 || =1.4.2 || =1.4.3 || =1.4.4 || =1.4.5 || =1.5 || =1.5.1 || =1.5.2 || =1.5.3 || =1.5.4 || =1.5.5 || =1.6 || =1.6.1 || =1.6.10 || =1.6.2 || =1.6.3 || =1.6.4 || =1.6.5 || =1.6.6 || =1.6.7 || =1.6.8 || =1.6.9 || =1.7 || =1.7.1 || =1.7.2 || =1.8 || =1.8.1 || =1.8.2 || =1.8.3 || =1.8.4 || =1.9.0 || =1.9.0.1 || =1.9.1 || =1.9.2 || =1.9.3 || =1.9.4 || =1.9.5 || =1.9.6 || =2.0.0 || =2.0.0.0 || =2.0.0.1 || =2.0.0.2 || =2.0.1.0 || =2.0.2.0 || =2.1.0.0 || =2.1.1.0 || =2.1.2.0 || =2.1.3.0 || =2.1.4.0 || =2.1.5.0 || =2.1.6.0 || =2.2.0.0 || =2.2.1.0 || =2.2.2.0 || =2.2.3.0 || =2.3.0.0 || =2.3.1.0 || =2.3.2.0 || =2.3.3.0 || =2.4.0.0 || =2.4.1.0 || =2.4.2.0 || =2.4.3.0 || =2.4.4.0 || =2.4.5.0 || =2.5.0 || =2.5.1 || =2.5.2 || =2.5.3 || =2.5.4 || =2.5.5 || =2.6.0
- Fixed version
- 2.4.6.0 · 2.5.6 · 2.6.1
PyPIansible
- Affected versions
- >= 0, < 2.4.6.0
- Fixed version
- 2.4.6.0
PyPIansible
- Affected versions
- >= 2.6, < 2.6.1
- Fixed version
- 2.6.1
PyPIansible
- Affected versions
- >= 2.5, < 2.5.6
- Fixed version
- 2.5.6
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Red HatRed Hat Storage 3/ansible
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
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.
Links
- http://www.securitytracker.com/id/1041396
- 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://access.redhat.com/security/cve/CVE-2018-10874
- https://bugzilla.redhat.com/show_bug.cgi?id=1596528
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
- https://github.com/advisories/GHSA-3xvg-x47j-x75w
- https://github.com/ansible/ansible
- https://github.com/ansible/ansible/commit/10d6fe6c98cfee9a7be0fea6102ba5dec951aec7
- https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e
- https://github.com/ansible/ansible/commit/44874addc7ea136f83c67d5869047ece02645fdb
- https://github.com/ansible/ansible/pull/42067
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-81.yaml
- https://nvd.nist.gov/vuln/detail/CVE-2018-10874
- https://usn.ubuntu.com/4072-1
- https://usn.ubuntu.com/4072-1/
- https://web.archive.org/web/20201130165946/http://www.securitytracker.com/id/1041396

