Every CVE Search/ Get API key

CVE-2015-3908

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

4.3 MediumFix available

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

0.94%Down 0.1 points since Feb 4, 2022
90%50%10%1%

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 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
ansible
PyPI
before 1.9.2
1.9.2
ansible
Debian:12
before 1.9.2+dfsg-1
1.9.2+dfsg-1
ansible
Debian:13
before 1.9.2+dfsg-1
1.9.2+dfsg-1
ansible
Debian:14
before 1.9.2+dfsg-1
1.9.2+dfsg-1
ansible
Debian: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
ansible
PyPI
before 1.9.2, plus listed versions
1.01.11.21.2.11.2.2
Show 40 moreShow less
1.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
ansible
Mageia:4
before 1.9.2-1.mga4
1.9.2-1.mga4
ansible
Mageia:5
before 1.9.2-1.mga5
1.9.2-1.mga5
ansible
Ubuntu: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 less
1.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
ansible
Ubuntu: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 less
2.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
Affected packages
PackageAffectedFixed
ansible
Ubuntu: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
ansible
Ubuntu: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
ansible
openSUSE:Tumbleweed
before 2.2.0.0-1.1
2.2.0.0-1.1
ansible-9
openSUSE:Tumbleweed
before 9.8.0-1.1
9.8.0-1.1
ansible-10
openSUSE:Tumbleweed
before 10.6.0-1.1
10.6.0-1.1
ansible-11
openSUSE:Tumbleweed
before 11.11.0-1.1
11.11.0-1.1
ansible-12
openSUSE:Tumbleweed
before 12.2.0-1.1
12.2.0-1.1
ansible-13
openSUSE:Tumbleweed
before 13.7.0-1.1
13.7.0-1.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 62 moreShow less
MoveEnter Open