Name | CVE-2020-1753 |
Description | A security flaw was found in Ansible Engine, all Ansible 2.7.x versions prior to 2.7.17, all Ansible 2.8.x versions prior to 2.8.11 and all Ansible 2.9.x versions prior to 2.9.7, when managing kubernetes using the k8s module. Sensitive parameters such as passwords and tokens are passed to kubectl from the command line, not using an environment variable or an input configuration file. This will disclose passwords and tokens from process list and no_log directive from debug module would not have any effect making these secrets being disclosed on stdout and log files. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4950-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ansible (PTS) | jessie, jessie (lts) | 1.7.2+dfsg-2+deb8u3 | fixed |
stretch (security), stretch (lts), stretch | 2.2.1.0-2+deb9u3 | fixed | |
buster (security), buster, buster (lts) | 2.7.7+dfsg-1+deb10u2 | fixed | |
bullseye | 2.10.7+merged+base+2.10.17+dfsg-0+deb11u1 | fixed | |
bookworm | 7.7.0+dfsg-3+deb12u1 | fixed | |
sid, trixie | 10.5.0+dfsg-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ansible | source | jessie | (not affected) | |||
ansible | source | stretch | (not affected) | |||
ansible | source | buster | 2.7.7+dfsg-1+deb10u1 | DSA-4950-1 | ||
ansible | source | (unstable) | 2.9.16+dfsg-1 |
[stretch] - ansible <not-affected> (Vulnerable code introduced later)
[jessie] - ansible <not-affected> (Vulnerable code introduced later)
https://bugzilla.redhat.com/show_bug.cgi?id=1811008
https://github.com/ansible-collections/kubernetes/pull/51
https://github.com/ansible/ansible/pull/71971
Fixed by: https://github.com/ansible/ansible/commit/3728530c9a21c0992047d32cb02518d1b076e23d (v2.9.14rc1)
Followup fix: https://github.com/ansible/ansible/commit/7529d31ba9042843ca4364459a744381728b7b4f (v2.9.15rc1)
Fixing commit only introduces a warning about disclosure when using certain
options.