CVE-2018-10874

NameCVE-2018-10874
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: local)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ansible (PTS)jessie1.7.2+dfsg-2fixed
jessie (security)1.7.2+dfsg-2+deb8u1fixed
stretch2.2.1.0-2fixed
buster, sid2.7.1+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansiblesource(unstable)2.6.1+dfsg-1medium
ansiblesourcejessie(not affected)
ansiblesourcestretch(not affected)

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

Search for package or bug name: Reporting problems