#VU36806 Key management errors in Ansible


Published: 2018-07-31 | Updated: 2020-08-08

Vulnerability identifier: #VU36806

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-8614

CWE-ID: CWE-320

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Ansible
Server applications / Remote management servers, RDP, SSH

Vendor: Red Hat Inc.

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Ansible: 2.0.0 - 2.0.2.0-1, 2.1.0 - 2.1.6.0-1


External links
http://www.securityfocus.com/bid/94108
http://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8614
http://github.com/ansible/ansible-modules-core/issues/5237
http://github.com/ansible/ansible-modules-core/pull/5353
http://github.com/ansible/ansible-modules-core/pull/5357


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability