{"id":"CVE-2015-3908","aliases":["GHSA-w64c-pxjj-h866","PYSEC-2015-1"],"kind":"cve","tier":"cold","status":"published","title":"Ansible does not verify that the server hostname matches a domain name in certificates","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.","ai_summary":null,"severity":"medium","cvss":{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD"},"scores":[{"score":4.3,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"nvd"}],"cwe":["CWE-345"],"remote":true,"remote_unauth":true,"epss":{"score":0.00941,"percentile":0.62039,"date":"2026-12-02"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[{"ecosystem":"PyPI","name":"ansible","affected":"< 1.9.2","fixed":["1.9.2"],"source":"osv"}],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"Upgrade ansible to 1.9.2 or later.","technologies":[],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2015-07/msg00051.html","kind":"vendor"},{"url":"http://www.ansible.com/security","kind":"vendor"},{"url":"http://lists.opensuse.org/opensuse-updates/2015-08/msg00029.html","kind":"vendor"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3908","kind":"vendor"},{"url":"https://github.com/advisories/GHSA-w64c-pxjj-h866","kind":"vendor"},{"url":"http://www.openwall.com/lists/oss-security/2015/07/14/4","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html","kind":"other"},{"url":"https://github.com/ansible/ansible","kind":"other"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml","kind":"other"}],"workarounds":null,"vendors":["redhat"],"products":["ansible"],"cpes":["cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*"],"published_at":"2015-08-12T14:00:00.000Z","modified_at":"2026-06-17T00:26:29.170Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3908"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/GHSA-w64c-pxjj-h866","license_url":"https://creativecommons.org/licenses/by/4.0/"},{"source":"OSV","text":"CC-BY 4.0","url":"https://osv.dev/vulnerability/PYSEC-2015-1","license_url":"https://creativecommons.org/licenses/by/4.0/"}],"links":{"html":"https://flawdb.com/CVE-2015-3908","markdown":"https://flawdb.com/CVE-2015-3908.md","json":"https://flawdb.com/api/v1/entries/CVE-2015-3908"}}