CVE-2018-16837
HIGH 7.8CVSS 3.0Ansible Leaks Data Passed to ssh-keygen
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.
- Published
- 23 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-214CWE-311
- Also known as
- GHSA-hwrm-63v2-42g4PYSEC-2018-44
- Sources
- NVDJSONOSV GHSA-hwrm-63v2-42g4JSONOSV PYSEC-2018-44JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.8 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:* |
= 2.5 | |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:* |
= 2.6 | |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:2.7:*:*:*:*:*:*:* |
= 2.7 | |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:3.3.0:*:*:*:*:*:*:* |
= 3.3.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | suse | package_hubcpe:2.3:a:suse:package_hub:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | PyPI | ansible | >= 2.7.0a1, < 2.7.1 | 2.7.1 |
| OSV | PyPI | ansible | >= 2.6.0a1, < 2.6.7 | 2.6.7 |
| OSV | PyPI | ansible | < 2.5.11 | 2.5.11 |
| OSV | PyPI | ansible | >= 2.7, < 2.7.1; >= 2.6, < 2.6.7; < 2.5.11 | 2.7.1, 2.6.7, 2.5.11 |
References
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html · Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00077.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00020.html · WEB
- http://www.securityfocus.com/bid/105700 · Third Party Advisory, VDB Entry, WEB
- https://access.redhat.com/errata/RHSA-2018:3460 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:3461 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:3462 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:3463 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:3505 · Vendor Advisory, WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html · Mailing List, Third Party Advisory, WEB
- https://usn.ubuntu.com/4072-1/ · WEB
- https://www.debian.org/security/2019/dsa-4396 · Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/security/cve/cve-2018-16837 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-16837 · ADVISORY
- https://github.com/ansible/ansible/pull/47487 · WEB
- https://github.com/ansible/ansible/pull/47486 · WEB
- https://github.com/ansible/ansible/pull/47445 · WEB
- https://github.com/ansible/ansible/pull/47436 · WEB
- https://github.com/ansible/ansible/commit/77928e6c3a2ad878b20312ce5d74d9d7741e0df0 · WEB
- https://github.com/ansible/ansible/commit/b618339c321c387230d3ea523e80ad47af3de5cf · WEB
- https://github.com/ansible/ansible/commit/f50cc0b8cb399bb7b7c1ad23b94c9404f0cc6d23 · WEB
- https://web.archive.org/web/20200227105539/http://www.securityfocus.com/bid/105700 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-44.yaml · WEB
- https://github.com/ansible/ansible/blob/c963ef1dfbf73efea5106624eb48b346f01eaefd/changelogs/CHANGELOG-v2.7.rst?plain=1#L138 · WEB
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/advisories/GHSA-hwrm-63v2-42g4 · ADVISORY
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 23 Oct 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Oct 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 May 2022)