CVE-2018-16837
HIGH7.8EPSS 0.02%ansible - security update
Published: 5/13/2022Modified: 4/28/2026
Description
Ansible "User" module leaks any data which is passed on as a parameter to ssh-keygen. This could lean in undesirable situations such as passphrases credentials passed as a parameter for the ssh-keygen executable. Showing those credentials in clear text form for every user which have access just to the process list.
Affected packages (5)
- Alpine/ansiblefrom 0, < 2.5.11-r0
- Debian/ansiblefrom 0, < 2.7.1+dfsg-1
- Debian/ansiblefrom 0, < 1.7.2+dfsg-2+deb8u1
- PyPI/ansible>= 2.7.0a1, < 2.7.1
- PyPI/ansible>= 2.7, < 2.7.1, >= 2.6, < 2.6.7, from 0, < 2.5.11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (29)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-16837
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2018-16837
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-16837
- PATCHhttps://github.com/ansible/ansible
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html
- WEBhttp://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html
- WEBhttps://access.redhat.com/errata/RHSA-2018:3460
- WEBhttps://access.redhat.com/errata/RHSA-2018:3461
- WEBhttps://access.redhat.com/errata/RHSA-2018:3462
- WEBhttps://access.redhat.com/errata/RHSA-2018:3463
- WEBhttps://access.redhat.com/errata/RHSA-2018:3505
- WEBhttps://access.redhat.com/security/cve/cve-2018-16837
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837
- WEBhttps://github.com/ansible/ansible/blob/c963ef1dfbf73efea5106624eb48b346f01eaefd/changelogs/CHANGELOG-v2.7.rst?plain=1#L138
- WEBhttps://github.com/ansible/ansible/commit/77928e6c3a2ad878b20312ce5d74d9d7741e0df0
- WEBhttps://github.com/ansible/ansible/commit/b618339c321c387230d3ea523e80ad47af3de5cf
- WEBhttps://github.com/ansible/ansible/commit/f50cc0b8cb399bb7b7c1ad23b94c9404f0cc6d23
- WEBhttps://github.com/ansible/ansible/pull/47436
- WEBhttps://github.com/ansible/ansible/pull/47445
- WEBhttps://github.com/ansible/ansible/pull/47486
- WEBhttps://github.com/ansible/ansible/pull/47487
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-44.yaml
- WEBhttps://lists.debian.org/debian-lts-announce/2018/11/msg00012.html
- WEBhttps://usn.ubuntu.com/4072-1
- WEBhttps://usn.ubuntu.com/4072-1/
- WEBhttps://web.archive.org/web/20200227105539/http://www.securityfocus.com/bid/105700
- WEBhttps://www.debian.org/security/2019/dsa-4396
- WEBhttp://www.securityfocus.com/bid/105700