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)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ansible (PTS)jessie1.7.2+dfsg-2vulnerable
stretch2.2.1.0-2vulnerable
buster2.5.5+dfsg-1vulnerable
sid2.6.1+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansiblesource(unstable)2.6.1+dfsg-1

Notes

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