High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-16837
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:12 UTC · Revision 1
Source evidence
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.
osv:CVE-2018-16837
Complete source record
{
"id": "1d006c4e481794006792386bed443388c35c42245602e139c2a19705bb3dcbe4",
"url": "https://osv.dev/vulnerability/CVE-2018-16837",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-16837",
"summary": "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.",
"evidence": "osv:CVE-2018-16837",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-16837",
"aliases": [
"CVE-2018-16837",
"GHSA-hwrm-63v2-42g4",
"PYSEC-2018-44"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/ansible/ansible",
"type": "GIT",
"events": [
{
"introduced": "2c2dd1a1b3eca6248979e04e70afff6dd3fcf366"
},
{
"last_affected": "0a07068054090d5b78b27496aa251be74c484b45"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:2.5:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5"
},
{
"last_affected": "2.5"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:2.6:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.6"
},
{
"last_affected": "2.6"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:redhat:ansible_engine:2.7:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7"
},
{
"last_affected": "2.7"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.5",
"2.6",
"2.7"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16837.json"
}
}
],
"modified": "2026-10-24T10:30:15.186352676Z",
"provider": "osv",
"references": [
"https://usn.ubuntu.com/4072-1/",
"https://access.redhat.com/errata/RHSA-2018:3460",
"https://access.redhat.com/errata/RHSA-2018:3461",
"https://access.redhat.com/errata/RHSA-2018:3462",
"https://access.redhat.com/errata/RHSA-2018:3463",
"https://access.redhat.com/errata/RHSA-2018:3505",
"https://access.redhat.com/security/cve/cve-2018-16837",
"https://lists.debian.org/debian-lts-announce/2018/11/msg00012.html",
"https://www.debian.org/security/2019/dsa-4396",
"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16837"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:ansible_engine",
"extracted_events": [
{
"range": [
{
"introduced": "2.0"
},
{
"last_affected": "2.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:redhat:ansible_tower:3.3.0:*:*:*:*:*:*:*"
],
"vendor_product": "redhat:ansible_tower",
"extracted_events": [
{
"range": [
{
"introduced": "3.3.0"
},
{
"last_affected": "3.3.0"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-16837",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429115,
"published_at": "2018-10-23T15:29:00.607+00:00"
}