PyPA Advisory Database
PYSEC-2018-81
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | ansible | All versions before 2.4.6.0 (fixed in 2.4.6.0) From 2.5 before 2.5.6 (fixed in 2.5.6) From 2.6 before 2.6.1 (fixed in 2.6.1) |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10874
- https://access.redhat.com/errata/RHSA-2018:2166
- https://access.redhat.com/errata/RHSA-2018:2152
- https://access.redhat.com/errata/RHSA-2018:2151
- https://access.redhat.com/errata/RHSA-2018:2150
- https://access.redhat.com/errata/RHSA-2018:2321
- http://www.securitytracker.com/id/1041396
- https://access.redhat.com/errata/RHSA-2018:2585
- https://access.redhat.com/errata/RHBA-2018:3788
- https://access.redhat.com/errata/RHSA-2019:0054
- https://usn.ubuntu.com/4072-1/
- https://github.com/advisories/GHSA-3xvg-x47j-x75w