CVE-2018-10875

NameCVE-2018-10875
DescriptionA flaw was found in ansible. ansible.cfg is read from the current working directory which can be altered to make it point to a plugin or a module path under the control of an attacker, thus allowing the attacker to execute arbitrary code.
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)
ReferencesDSA-4396-1
NVD severityhigh (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ansible (PTS)jessie1.7.2+dfsg-2vulnerable
jessie (security)1.7.2+dfsg-2+deb8u1vulnerable
stretch2.2.1.0-2vulnerable
stretch (security)2.2.1.0-2+deb9u1fixed
buster2.7.7+dfsg-1fixed
sid2.7.8+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansiblesource(unstable)2.6.1+dfsg-1high
ansiblesourcestretch2.2.1.0-2+deb9u1highDSA-4396-1

Notes

[jessie] - ansible <no-dsa> (Too intrusive to backport)
https://bugzilla.redhat.com/show_bug.cgi?id=1596533
https://github.com/ansible/ansible/pull/42070
https://github.com/ansible/ansible/commit/4cecbe81adbc655d7ab734165d3ac539f8ba5981

Search for package or bug name: Reporting problems