CVE-2015-3908 Ansible does not verify that the server hostname matches a domain name in certificates
Ansible fails to verify SSL certificates, allowing man-in-the-middle attackers to spoof servers and intercept traffic.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2015-3908?
CVE-2015-3908 is a medium-severity vulnerability in n/a, published on 12 Aug 2015. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Ansible before 1.9.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Weakness: CWE-345
Which versions are affected by CVE-2015-3908?
3 open source packages ship an affected version, including ansible. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ansible PyPI | All versions | 1.9.2 |
ansible PyPI | All versions | 1.9.2 |
ansible PyPI | All versions | 1.9.2 |
Products include Redhat Ansible.
How do I fix CVE-2015-3908?
Upgrade ansible to 1.9.2 or later.
Is CVE-2015-3908 being exploited?
There is no known exploitation of CVE-2015-3908 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2015-3908, GHSA-w64c-pxjj-h866, MGASA-2015-0292, PYSEC-2015-1, UBUNTU-CVE-2015-3908.