CVSS 3.0
7.8 highCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HHigh (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in ansible 2.5.11, 2.6.7, 2.7.1.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hansible (PyPI): fixed in 2.7.1, 2.6.7, 2.5.11Explain CVE-2018-16837 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-16837?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-16837?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-16837 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| redhat:ansible_engine | 2.0 |
| redhat:ansible_engine | 2.5 |
| redhat:ansible_engine | 2.6 |
| redhat:ansible_engine | 2.7 |
| redhat:ansible_tower | 3.3.0 |
| debian:debian_linux | 8.0 |
| debian:debian_linux | 9.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-hwrm-63v2-42g4 | PyPI | ansible | >=2.7.0a1 <2.7.1 | 2.7.1 |
| GHSA-hwrm-63v2-42g4 | PyPI | ansible | >=2.6.0a1 <2.6.7 | 2.6.7 |
| GHSA-hwrm-63v2-42g4 | PyPI | ansible | <2.5.11 | 2.5.11 |
| PYSEC-2018-44 | PyPI | ansible | >=2.7 <2.7.1 >=2.6 <2.6.7 <2.5.11 | 2.7.1, 2.6.7, 2.5.11 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 8 | ansible | 1.7.2+dfsg-2+deb8u1 | DLA-1576-1 |
| Debian | 9 | ansible | 2.2.1.0-2+deb9u1 | DSA-4396-1 |
| Debian | 12, 13, 14 | ansible | 2.7.1+dfsg-1 | DEBIAN-CVE-2018-16837 |
| Ubuntu | 16.04:LTS | ansible | 2.0.0.2-2ubuntu1.3 | UBUNTU-CVE-2018-16837 USN-4072-1 |
| Ubuntu | 18.04:LTS | ansible | 2.5.1+dfsg-1ubuntu0.1 | UBUNTU-CVE-2018-16837 USN-4072-1 |
| Ubuntu | Pro:14.04:LTS | ansible | no fix listed | UBUNTU-CVE-2018-16837 |
| Red Hat | ansible_engine:2.5::el7 | ansible, ansible-doc | 0:2.5.11-1.el7ae | RHSA-2018:3461 |
| Red Hat | ansible_engine:2.6::el7 | ansible | 0:2.6.7-1.el7ae | RHSA-2018:3460 |
| Red Hat | ansible_engine:2.7::el7 | ansible | 0:2.7.1-1.el7ae | RHSA-2018:3463 |
| Red Hat | ansible_engine:2::el7 | ansible | 0:2.7.1-1.el7ae | RHSA-2018:3462 |
| Red Hat | openstack:13::el7 | ansible | 0:2.6.11-1.el7ae | RHSA-2019:0564 |
| Red Hat | openstack:13::el7 | openstack-selinux | 0:0.8.17-2.el7ost | RHSA-2019:0564 |
| Red Hat | openstack:13::el7 | os-apply-config | 0:8.3.1-0.20180831234255.be699ba.el7ost | RHSA-2019:0564 |
| Red Hat | openstack:13::el7 | python-barbicanclient, python2-barbicanclient | 0:4.6.0-2.el7ost | RHSA-2019:0564 |
| Red Hat | openstack:13::el7 | python-docker | 0:2.4.2-2.el7 | RHSA-2019:0564 |
| Red Hat | openstack:13::el7 | python-heat-tests-tempest, python2-heat-tests-tempest | 0:0.1.1-0.20180514163845.9d99219.el7ost | RHSA-2019:0564 |
| Red Hat | openstack:13::el7 | python-manila, openstack-manila, python-manila-tests and 1 more | 1:6.0.2-5.el7ost | RHSA-2019:0564 |
| Red Hat | openstack:13::el7 | python-novajoin | 0:1.0.22-1.el7ost | RHSA-2019:0564 |
| 7 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more | 8.20201007-1.29.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8 | release-notes-hpe-helion-openstack | 8.20200922-3.23.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev3-14.32.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-ansible | 8.0+git.1596735237.54109b1-3.77.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-cinder | 8.0+git.1596129856.263f430-3.43.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-glance | 8.0+git.1593631779.76fa9b7-3.24.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-mq | 8.0+git.1593618123.678c32b-3.26.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-nova | 8.0+git.1601298847.dd01585-3.42.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-osconfig | 8.0+git.1595885113.93abcbc-3.49.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | python-Flask-Cors | 3.0.3-3.3.1 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | python-ardana-packager | 0.0.3-7.7.2 | SUSE-SU-2020:3309-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-aodh | 5.1.1~dev7-12.28.1 | SUSE-SU-2020:3309-1 |
| 49 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Leap 15.0 | ansible | 2.7.8-bp150.3.6.1 | openSUSE-SU-2019:1125-1 |
| openSUSE | Leap 15.0, Leap 15.1 | ansible | 2.8.1-bp150.3.9.1 | openSUSE-SU-2019:1635-1 |
| openSUSE | Leap 15.3 | ansible | 2.9.21-bp153.2.3.1 | openSUSE-SU-2022:0081-1 |
| openSUSE | Tumbleweed | ansible-10 | 10.6.0-1.1 | openSUSE-SU-2024:14536-1 |
| openSUSE | Tumbleweed | ansible-11 | 11.11.0-1.1 | openSUSE-SU-2025:15605-1 |
| openSUSE | Tumbleweed | ansible-12 | 12.2.0-1.1 | openSUSE-SU-2025:15753-1 |
| openSUSE | Tumbleweed | ansible-13 | 13.7.0-1.1 | openSUSE-SU-2026:10944-1 |
| openSUSE | Tumbleweed | ansible-14 | 14.6.0-1.1 | openSUSE-SU-2026:12447-1 |
| openSUSE | Tumbleweed | ansible-9 | 9.8.0-1.1 | openSUSE-SU-2024:14244-1 |
| Alpine | v3.8 | ansible | 2.5.11-r0 | ALPINE-CVE-2018-16837 |
| Alpine | v3.9 | ansible | 2.7.1-r0 | ALPINE-CVE-2018-16837 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This issue affects the version of ansible as shipped with Red Hat Ceph Storage 3, as it contains the vulnerable code which leaks the data when ssh-keygen is invoked with any arguments.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Engine 2.5 for RHEL 7 | ansible-0:2.5.11-1.el7ae | Fixed 2018-11-05 | RHSA-2018:3461 |
| Red Hat Ansible Engine 2.6 for RHEL 7 | ansible-0:2.6.7-1.el7ae | Fixed 2018-11-05 | RHSA-2018:3460 |
| Red Hat Ansible Engine 2.7 for RHEL 7 | ansible-0:2.7.1-1.el7ae | Fixed 2018-11-05 | RHSA-2018:3463 |
| Red Hat Ansible Engine 2 for RHEL 7 | ansible-0:2.7.1-1.el7ae | Fixed 2018-11-05 | RHSA-2018:3462 |
| Red Hat OpenStack Platform 13.0 (Queens) | ansible-0:2.6.11-1.el7ae | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | openstack-ec2-api-0:6.0.1-0.20181123223255.1e25260.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | openstack-manila-1:6.0.2-5.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | openstack-selinux-0:0.8.17-2.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | openstack-tempest-1:18.0.0-6.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | os-apply-config-0:8.3.1-0.20180831234255.be699ba.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | python-barbicanclient-0:4.6.0-2.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | python-docker-0:2.4.2-2.el7 | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | python-heat-tests-tempest-0:0.1.1-0.20180514163845.9d99219.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | python-novajoin-0:1.0.22-1.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | python-openstackclient-0:3.14.3-2.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat OpenStack Platform 13.0 (Queens) | python-openstacksdk-0:0.11.3-2.el7ost | Fixed 2019-03-14 | RHSA-2019:0564 |
| Red Hat Ceph Storage 2 | ansible | Out of support scope | |
| Red Hat Ceph Storage 3 | ansible | Will not fix | |
| Red Hat OpenStack Platform 10 (Newton) | ansible | Will not fix | |
| Red Hat Storage 3 | ansible | Will not fix | |
| 3 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-16837.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-311 (14).