Skip to content
OpenAdvisories
High · 7.5 CVE-2015-3908 EUVD-2015-0001GHSA-w64c-pxjj-h866PYSEC-2015-1

Ansible does not verify that the server hostname matches a domain name in certificates

Published Aug 12, 2015 · Updated Aug 6, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ansible 1.9.2+dfsg-1 —
Debian 13 ansible 1.9.2+dfsg-1 —
Debian 12 ansible 1.9.2+dfsg-1 —
Debian 8 ansible 1.7.2+dfsg-2+deb8u2 DLA-1923-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS ansible 2.9.6+dfsg-1ubuntu0.1~esm3 USN-7330-1
Ubuntu Pro 18.04 LTS ansible 2.5.1+dfsg-1ubuntu0.1+esm5 USN-7330-1
Ubuntu Pro 16.04 LTS ansible 2.0.0.2-2ubuntu1.3+esm5 USN-7330-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 14.04 LTS ansible 1.5.4+dfsg-1ubuntu0.1~esm3 USN-7330-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed ansible 2.2.0.0-1.1 openSUSE-SU-2024:10326-1
openSUSE Tumbleweed ansible-10 10.6.0-1.1 openSUSE-SU-2024:14536-1
openSUSE Tumbleweed ansible-11 11.11.0-1.1 openSUSE-SU-2025:15605-1
openSUSE Tumbleweed ansible-12 12.2.0-1.1 openSUSE-SU-2025:15753-1
openSUSE Tumbleweed ansible-13 13.7.0-1.1 openSUSE-SU-2026:10944-1
openSUSE Tumbleweed ansible-14 14.6.0-1.1 openSUSE-SU-2026:12447-1
openSUSE Tumbleweed ansible-9 9.8.0-1.1 openSUSE-SU-2024:14244-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ansible < 1.9.2 1.9.2 GHSA-w64c-pxjj-h866

Advisories 9

References