CVE-2015-3908
Ansible does not verify that the server hostname matches a domain name in certificates
Reported by mitre · Published August 12, 2015
ansible is fixed in 1.9.2 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | PyPI | 1.9.2 |
| ansible | redhat | 1.9.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| PyPI | ansible | 0 |
| n/a | n/a | * |
Timeline
- Aug 12, 2015 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch
- Mar 5, 2026 Security Advisory (5 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Oct 15, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2015-3908
vulnetix vdb fixes CVE-2015-3908
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2015-3908/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [oss-security] 20150714 [CVE-2015-3908] Improper TLS Certificate Validation in Ansible mailing-listx_refsource_MLIST
- openSUSE-SU-2015:1280 vendor-advisoryx_refsource_SUSE
- x_refsource_CONFIRM
- openSUSE-SU-2015:1452 vendor-advisoryx_refsource_SUSE
- [debian-lts-announce] 20190916 [SECURITY] [DLA 1923-1] ansible security update mailing-listx_refsource_MLIST
- https://github.com/ansible/ansible/blob/devel/CHANGELOG.md#192-dancing-in-the-street---jun-26-2015 url