GitHub Advisoryadvisory · PyPI
GHSA-hwrm-63v2-42g4 Ansible Leaks Data Passed to ssh-keygen
HIGH
Official page ↗
- Aliases
- CVE-2018-16837
- Ecosystem
- PyPI
- Packages
- ansible
- Severity
- High
- CVSS vector
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-311
- Reviewed
- 2024-04-22
Affected packages
• PyPI ansible: >= 2.7.0a1, < 2.7.1 → fixed in 2.7.1
• PyPI ansible: >= 2.6.0a1, < 2.6.7 → fixed in 2.6.7
• PyPI ansible: < 2.5.11 → fixed in 2.5.11
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.
Related
Alias · CVE (1)
- CVE-2018-16837 Ansible "User" module leaks any data which is passed on as a parameter to ssh-keygen. vulnerability
Weakness · CWE (1)
- CWE-311 Missing Encryption of Sensitive Data weakness
References
- 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://www.debian.org/security/2019/dsa-4396 web
- https://web.archive.org/web/20200227105539/http://www.securityfocus.com/bid/105700 web
- https://usn.ubuntu.com/4072-1 web
- https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html 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://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837 web
- https://access.redhat.com/security/cve/cve-2018-16837 web
- https://access.redhat.com/errata/RHSA-2018:3505 web
- https://access.redhat.com/errata/RHSA-2018:3463 web
- https://access.redhat.com/errata/RHSA-2018:3462 web
- https://access.redhat.com/errata/RHSA-2018:3461 web
- https://access.redhat.com/errata/RHSA-2018:3460 web
- http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00021.html 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