CVE-2019-14905

NameCVE-2019-14905
DescriptionA vulnerability was found in Ansible Engine versions 2.9.x before 2.9.3, 2.8.x before 2.8.8, 2.7.x before 2.7.16 and earlier, where in Ansible's nxos_file_copy module can be used to copy files to a flash or bootflash on NXOS devices. Malicious code could craft the filename parameter to perform OS command injections. This could result in a loss of confidentiality of the system among other issues.
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)jessie, jessie (lts)1.7.2+dfsg-2+deb8u3fixed
stretch (security), stretch (lts), stretch2.2.1.0-2+deb9u3vulnerable
buster (security), buster, buster (lts)2.7.7+dfsg-1+deb10u2vulnerable
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)
ansiblesource(unstable)2.9.4+dfsg-1low

Notes

[buster] - ansible <no-dsa> (Minor issue)
[stretch] - ansible <no-dsa> (Minor issue)
[jessie] - ansible <not-affected> (Vulnerable module first bundled in 2.2)
https://bugzilla.redhat.com/show_bug.cgi?id=1776943
https://github.com/ansible/ansible/pull/65423
https://github.com/ansible/ansible/blob/stable-2.2/CHANGELOG.md
Fixed by: https://github.com/ansible/ansible/commit/1257448636772859924157fa76341a698e4bf823 (v2.9.3)
Fixed by: https://github.com/ansible/ansible/commit/0d08d78637ba8f608b490bf2dc8700604faa8f80 (v2.8.8)
Fixed by: https://github.com/ansible/ansible/commit/88416b627caac5f0f4bff335d5387e0bcca938ca (v2.7.16)

Search for package or bug name: Reporting problems