Ansible does not verify that the server hostname matches a domain name in certificates
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | ansible | < 1.9.2 | 1.9.2 |
References
- http://lists.opensuse.org/opensuse-updates/2015-07/msg00051.html
- http://www.openwall.com/lists/oss-security/2015/07/14/4
- http://www.ansible.com/security
- http://lists.opensuse.org/opensuse-updates/2015-08/msg00029.html
- https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html
- https://github.com/advisories/GHSA-w64c-pxjj-h866
- https://nvd.nist.gov/vuln/detail/CVE-2015-3908
- https://github.com/ansible/ansible
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-345- Platform
- Python (PyPI)
- Package
ansible- Disclosed
- 12.08.2015
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2015-1 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-w64c-pxjj-h866 - CC BY 4.0
Vulnerability history: ansible
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 68
- First → latest
- 09.2013 12.2025
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 9
- High 24
- Medium 27
- Low 6
- Unrated 2
Disclosures per year
- 2017: 3
- 2018: 12
- 2019: 8
- 2020: 29
- 2021: 7
- 2022: 3
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
earlier: 4
-
Ansible does not verify that the server hostname matches a domain name in certificates this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.