CVE-2016-8614 json
Ansible apt_key module does not properly verify key fingerprint
published 2018-07-31 8 y ago modified 2026-06-17 4 mo ago also GHSA-cmwx-9m2h-x7v4 , PYSEC-2018-37 , EUVD-2018-0010
- cvss
- 6.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
A flaw was found in Ansible before version 2.2.0. The apt_key module does not properly verify key fingerprints, allowing remote adversary to create an OpenPGP key which matches the short key ID and inject this key instead of the correct key.
Patch / fix
- pypi ansible 2.2.0.0
- redhat ansible 2.2.0
- ansible Debian 14, Debian 13, Debian 12 2.2.0.0-1
debian advisories DEBIAN-CVE-2016-8614
- ansible Ubuntu Pro 14.04 LTS 1.5.4+dfsg-1ubuntu0.1~esm3
- ansible Ubuntu Pro 16.04 LTS 2.0.0.2-2ubuntu1.3+esm5
ubuntu advisories UBUNTU-CVE-2016-8614
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ansible openSUSE Leap 15.5, Manager Proxy Module 4.3, Manager Client Tools 15 2.9.27-150000.1.17.2
- grafana Manager Client Tools 15 9.5.18-150000.1.63.2
- spacecmd openSUSE Leap 15.5, Manager Client Tools 15 4.3.27-150000.3.116.2
- mgr-daemon Manager Client Tools 15 4.3.9-150000.1.47.2
- spacewalk-koan Manager Client Tools 15 4.3.6-150000.3.33.2
- dracut-saltboot openSUSE Leap 15.5, Manager Client Tools for SLE Micro 5, Manager Client Tools 15 0.1.1710765237.46af599-150000.1.53.2
- POS_Image-JeOS7 openSUSE Leap 15.5, Manager Client Tools 15 0.1.1710765237.46af599-150000.1.21.2
- uyuni-common-libs Manager Client Tools 15 4.3.10-150000.1.39.2
suse advisories SUSE-SU-2024:1509-1SUSE-SU-2020:3309-1
- ansible Package Hub 12 2.4.1.0-6.1
opensuse advisories openSUSE-SU-2017:2976-1openSUSE-SU-2017:2978-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-8614 updated cvss 6.3
ansible: Improper verification of key fingerprints in apt_key module
-
Red Hat OpenShift Enterprise 3 ansible Red Hat OpenStack Platform 10 (Newton) ansible Red Hat Quickstart Cloud Installer 1 ansible Red Hat Storage 3 ansible Red Hat Storage Console 2 ansiblenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.46% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8614 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/ansible/ansible-modules-core/issues/5237 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L |
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ansible | <2.2.0.0 |
2.2.0.0 |
Affected products
- Red Hat Ansible
Classification
References
-
github.com
/ansible/ansible-modules-core/pull/5353
web, third-party-advisory
-
github.com
/ansible/ansible-modules-core/pull/5357
web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=CVE-2016-8614
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/ansible/ansible-modules-core/commit/1182d1f0b76d56f3667e27987a10b9ec8f03357d
web
-
github.com
/ansible/ansible-modules-core/commit/66d47c8149d84e52f64b7c4d1f340d45dca94d9c
web
-
github.com
/ansible/ansible-modules-core/issues/5237
web, exploit, third-party-advisory, report
-
securityfocus.com
/bid/94108
vdb-entry, third-party-advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2016-8614
advisory
-
github.com
/advisories/GHSA-cmwx-9m2h-x7v4
advisory
-
github.com
/ansible/ansible
package
-
github.com
/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-37.yaml
web
-
web.archive.org
/web/20200227214450/https://www.securityfocus.com/bid/94108
web
Sources
- CVE List CVE-2016-8614
- GitHub Advisory GHSA-cmwx-9m2h-x7v4
- NVD CVE-2016-8614
- OSV PYSEC-2018-37
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.