CVE-2015-3908
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.
Exploit likelihood
What each source reports
NVD Score used
4.3
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.
- Record
CVE-2015-3908- CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-345
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2015-3908- Updated
- 2026-11-02
EUVDEUVD-2015-0001 No score
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.
- Record
EUVD-2015-0001- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w64c-pxjj-h866
8.7
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.
- Record
GHSA-w64c-pxjj-h866- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-345
- Updated
- 2026-11-02
OSVGHSA-w64c-pxjj-h866
8.7
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.
- Record
GHSA-w64c-pxjj-h866- CVSS 4.0
- 8.7 High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N - CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-345
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2015-3908- Updated
- 2026-11-02
Show 11 moreShow less
OSVDEBIAN-CVE-2015-3908 No score
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.
- Record
DEBIAN-CVE-2015-3908- Updated
- 2026-11-02
OSVMGASA-2015-0292 No score
Updated ansible package fixes security vulnerability
Update to 1.9.2. Fixes CVE-2015-3908 (hostname and cert matching in some modules and plugins) and another not yet issued CVE on chroot/jail/zone connection plugins as well as a number of bugfixes.
- Record
MGASA-2015-0292- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10326-1 No score
ansible-2.2.0.0-1.1 on GA media
These are all security issues fixed in the ansible-2.2.0.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10326-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14244-1 No score
ansible-9-9.8.0-1.1 on GA media
These are all security issues fixed in the ansible-9-9.8.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14244-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14536-1 No score
ansible-10-10.6.0-1.1 on GA media
These are all security issues fixed in the ansible-10-10.6.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14536-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15605-1 No score
ansible-11-11.11.0-1.1 on GA media
These are all security issues fixed in the ansible-11-11.11.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15605-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15753-1 No score
ansible-12-12.2.0-1.1 on GA media
These are all security issues fixed in the ansible-12-12.2.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15753-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2026:10944-1 No score
ansible-13-13.7.0-1.1 on GA media
These are all security issues fixed in the ansible-13-13.7.0-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2026:10944-1- Updated
- 2026-11-02
OSVPYSEC-2015-1 No score
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.
- Record
PYSEC-2015-1- Updated
- 2026-11-02
OSVUBUNTU-CVE-2015-3908 No score
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.
- Record
UBUNTU-CVE-2015-3908- Updated
- 2026-11-02
OSVUSN-7330-1 No score
ansible vulnerabilities
It was discovered that Ansible did not properly verify certain fields of X.509 certificates. An attacker could possibly use this issue to spoof SSL servers if they were able to intercept network communications. This issue only affected Ubuntu 14.04 LTS. (CVE-2015-3908)
Martin Carpenter discovered that certain connection plugins for Ansible did not properly restrict users. An attacker with local access could possibly use this issue to escape a restricted environment via symbolic links misuse. This issue only affected Ubuntu 14.04 LTS. (CVE-2015-6240)
Robin Schneider discovered that Ansible's apt_key module did not properly verify key fingerprints. A remote attacker could possibly use this issue to perform key injection, leading to the access of sensitive information. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS. (CVE-2016-8614)
It was discovered that Ansible would expose passwords in certain instances. An attacker could possibly use specially crafted input related to this issue to access sensitive information. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-10206)
It was discovered that Ansible incorrectly logged sensitive information. An attacker with local access could possibly use this issue to access sensitive information. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 18.04 LTS. (CVE-2019-14846)
It was discovered that Ansible's solaris_zone module accepted input without performing input checking. A remote attacker could possibly use this issue to enable the execution of arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2019-14904)
It was discovered that Ansible did not generate sufficiently random values, which could lead to the exposure of passwords. An attacker could possibly use this issue to access sensitive information. This issue only affected Ubuntu 16.04 LTS and Ubuntu 18.04 LTS. (CVE-2020-10729)
It was discovered that Ansible's svn module could disclose passwords to users within the same node. An attacker could possibly use this issue to access sensitive information. (CVE-2020-1739)
- Record
USN-7330-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
ansiblePyPI |
before 1.9.2 | 1.9.2 |
ansibleDebian:12 |
before 1.9.2+dfsg-1 | 1.9.2+dfsg-1 |
ansibleDebian:13 |
before 1.9.2+dfsg-1 | 1.9.2+dfsg-1 |
ansibleDebian:14 |
before 1.9.2+dfsg-1 | 1.9.2+dfsg-1 |
ansibleDebian:8 |
before 1.7.2+dfsg-2+deb8u2, plus listed versions 1.7.2+dfsg-21.7.2+dfsg-2+deb8u1 |
1.7.2+dfsg-2+deb8u2 |
ansiblePyPI |
before 1.9.2, plus listed versions 1.01.11.21.2.11.2.2 Show 40 moreShow less1.2.31.3.01.3.11.3.21.3.31.3.41.41.4.11.4.21.4.31.4.41.4.51.51.5.11.5.21.5.31.5.41.5.51.61.6.11.6.101.6.21.6.31.6.41.6.51.6.61.6.71.6.81.6.91.71.7.11.7.21.81.8.11.8.21.8.31.8.41.9.01.9.0.11.9.1 |
1.9.2 |
ansibleMageia:4 |
before 1.9.2-1.mga4 | 1.9.2-1.mga4 |
ansibleMageia:5 |
before 1.9.2-1.mga5 | 1.9.2-1.mga5 |
ansibleUbuntu:Pro:14.04:LTS |
before 1.5.4+dfsg-1ubuntu0.1~esm3, plus listed versions 1.1+dfsg-11.3.4+dfsg-11.4.0+dfsg-11.4.1+dfsg-11.4.3+dfsg-1 Show 4 moreShow less1.4.4+dfsg-11.5.4+dfsg-11.5.4+dfsg-1ubuntu0.1~esm11.5.4+dfsg-1ubuntu0.1~esm2 |
1.5.4+dfsg-1ubuntu0.1~esm3 |
ansibleUbuntu:Pro:16.04:LTS |
before 2.0.0.2-2ubuntu1.3+esm5, plus listed versions 1.9.2+dfsg-21.9.4-12.0.0.2-22.0.0.2-2ubuntu12.0.0.2-2ubuntu1.1 Show 6 moreShow less2.0.0.2-2ubuntu1.22.0.0.2-2ubuntu1.32.0.0.2-2ubuntu1.3+esm12.0.0.2-2ubuntu1.3+esm22.0.0.2-2ubuntu1.3+esm32.0.0.2-2ubuntu1.3+esm4 |
2.0.0.2-2ubuntu1.3+esm5 |
Show 8 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ansibleUbuntu:Pro:18.04:LTS |
before 2.5.1+dfsg-1ubuntu0.1+esm5, plus listed versions 2.3.1.0+dfsg-22.5.0+dfsg-12.5.1+dfsg-12.5.1+dfsg-1ubuntu0.12.5.1+dfsg-1ubuntu0.1+esm12.5.1+dfsg-1ubuntu0.1+esm22.5.1+dfsg-1ubuntu0.1+esm32.5.1+dfsg-1ubuntu0.1+esm4 |
2.5.1+dfsg-1ubuntu0.1+esm5 |
ansibleUbuntu:Pro:20.04:LTS |
before 2.9.6+dfsg-1ubuntu0.1~esm3, plus listed versions 2.8.3+dfsg-12.8.6+dfsg-12.9.2+dfsg-12.9.4+dfsg-12.9.6+dfsg-12.9.6+dfsg-1ubuntu0.1~esm12.9.6+dfsg-1ubuntu0.1~esm2 |
2.9.6+dfsg-1ubuntu0.1~esm3 |
ansibleopenSUSE:Tumbleweed |
before 2.2.0.0-1.1 | 2.2.0.0-1.1 |
ansible-9openSUSE:Tumbleweed |
before 9.8.0-1.1 | 9.8.0-1.1 |
ansible-10openSUSE:Tumbleweed |
before 10.6.0-1.1 | 10.6.0-1.1 |
ansible-11openSUSE:Tumbleweed |
before 11.11.0-1.1 | 11.11.0-1.1 |
ansible-12openSUSE:Tumbleweed |
before 12.2.0-1.1 | 12.2.0-1.1 |
ansible-13openSUSE:Tumbleweed |
before 13.7.0-1.1 | 13.7.0-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2015-3908 is a medium vulnerability (CVSS 4.3) in Redhat Ansible, published July 28, 2015. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.94%, the 61st percentile. Fixed in ansible 1.9.2.
References
openwall.com/lists/oss-security/2015/07/14/4
lists.opensuse.org/opensuse-updates/2015-07/msg00051.html
ansible.com/security
lists.opensuse.org/opensuse-updates/2015-08/msg00029.html
lists.debian.org/debian-lts-announce/2019/09/msg00016.html
nvd.nist.gov/vuln/detail/CVE-2015-3908
Show 62 moreShow less
github.com/advisories/GHSA-w64c-pxjj-h866
github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2015-1.yaml
security-tracker.debian.org/tracker/CVE-2015-3908
github.com/ansible/ansible
advisories.mageia.org/MGASA-2015-0292.html
bugs.mageia.org/show_bug.cgi?id=16309
ubuntu.com/security/CVE-2015-3908
cve.org/CVERecord?id=CVE-2015-3908
ubuntu.com/security/notices/USN-7330-1
ubuntu.com/security/CVE-2015-6240
ubuntu.com/security/CVE-2016-8614
ubuntu.com/security/CVE-2019-10206
ubuntu.com/security/CVE-2019-14846
ubuntu.com/security/CVE-2019-14904
ubuntu.com/security/CVE-2020-1739
ubuntu.com/security/CVE-2020-10729
suse.com/security/cve/CVE-2014-4966
suse.com/security/cve/CVE-2014-4967
suse.com/security/cve/CVE-2015-3908
suse.com/security/cve/CVE-2016-3096
suse.com/security/cve/CVE-2016-9587
suse.com/security/cve/CVE-2017-7466
suse.com/security/cve/CVE-2017-7481
suse.com/security/cve/CVE-2017-7550
suse.com/security/cve/CVE-2018-10855
suse.com/security/cve/CVE-2018-10875
suse.com/security/cve/CVE-2018-16837
suse.com/security/cve/CVE-2018-16859
suse.com/security/cve/CVE-2018-16876
suse.com/security/cve/CVE-2019-10156
suse.com/security/cve/CVE-2019-10206
suse.com/security/cve/CVE-2019-10217
suse.com/security/cve/CVE-2019-14846
suse.com/security/cve/CVE-2019-14856
suse.com/security/cve/CVE-2019-14858
suse.com/security/cve/CVE-2019-14864
suse.com/security/cve/CVE-2019-14904
suse.com/security/cve/CVE-2019-14905
suse.com/security/cve/CVE-2019-3828
suse.com/security/cve/CVE-2020-10684
suse.com/security/cve/CVE-2020-10685
suse.com/security/cve/CVE-2020-10691
suse.com/security/cve/CVE-2020-10729
suse.com/security/cve/CVE-2020-14330
suse.com/security/cve/CVE-2020-14332
suse.com/security/cve/CVE-2020-1733
suse.com/security/cve/CVE-2020-1734
suse.com/security/cve/CVE-2020-1735
suse.com/security/cve/CVE-2020-1736
suse.com/security/cve/CVE-2020-1737
suse.com/security/cve/CVE-2020-1738
suse.com/security/cve/CVE-2020-1739
suse.com/security/cve/CVE-2020-1740
suse.com/security/cve/CVE-2020-1744
suse.com/security/cve/CVE-2020-1746
suse.com/security/cve/CVE-2020-1753
suse.com/security/cve/CVE-2021-20178
suse.com/security/cve/CVE-2021-20180
suse.com/security/cve/CVE-2021-20191
suse.com/security/cve/CVE-2021-20228
suse.com/security/cve/CVE-2021-3583
lists.opensuse.org/archives/list/[email protected]/thread/7LWEIR2LXW4QRWCY6HDMLUO2OTX5OZIC