Name | CVE-2018-10874 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ansible (PTS) | bullseye | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 | fixed |
| bookworm | 7.7.0+dfsg-3+deb12u1 | fixed |
| sid, trixie | 10.5.0+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
ansible | source | jessie | (not affected) | | | |
ansible | source | stretch | (not affected) | | | |
ansible | source | (unstable) | 2.6.1+dfsg-1 | | | |
Notes
[stretch] - ansible <not-affected> (Vulnerable code not present)
[jessie] - ansible <not-affected> (vulnerable code not present)
https://bugzilla.redhat.com/show_bug.cgi?id=1596528
https://github.com/ansible/ansible/pull/42067
https://github.com/ansible/ansible/commit/1f80949f964a946773f9d3ac1899535bd2cc2b8e