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, 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 PackageReleaseVersionStatus
ansible (PTS)bullseye2.10.7+merged+base+2.10.17+dfsg-0+deb11u1fixed
bookworm7.7.0+dfsg-3+deb12u1fixed
sid, trixie10.5.0+dfsg-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ansiblesourcejessie(not affected)
ansiblesourcestretch(not affected)
ansiblesource(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

Search for package or bug name: Reporting problems