CVE-2012-3446
Apache Libcloud vulnerable to certificate impersonation
CVE-2012-3446 is a medium vulnerability (CVSS 5.9) in Apache Libcloud, published November 4, 2012. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.22%, the 68th percentile. Fixed in apache-libcloud 0.11.1.
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.9
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
CVE-2012-3446- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - CVSS 2.0
- 5.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:N - Weakness
- CWE-295
- Updated
- 2026-11-02
CVE List No score
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
CVE-2012-3446- Updated
- 2026-11-02
EUVDEUVD-2012-0001 No score
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
EUVD-2012-0001- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-prcq-52f8-fp44
5.9
Apache Libcloud vulnerable to certificate impersonation
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
GHSA-prcq-52f8-fp44- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-20, CWE-185, CWE-295
- Updated
- 2026-11-02
OSV
5.9
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
CVE-2012-3446- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-3446
5.9
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
DEBIAN-CVE-2012-3446- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Updated
- 2026-11-02
OSVGHSA-prcq-52f8-fp44
5.9
Apache Libcloud vulnerable to certificate impersonation
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
GHSA-prcq-52f8-fp44- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Weakness
- CWE-185, CWE-20, CWE-295
- Updated
- 2026-11-02
OSVPYSEC-2012-12 No score
Apache Libcloud before 0.11.1 uses an incorrect regular expression during verification of whether 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 a crafted certificate.
- Record
PYSEC-2012-12- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
apache-libcloudPyPI |
before 0.11.1 | 0.11.1 |
libcloudDebian:12 |
before 0.5.0-1.1 | 0.5.0-1.1 |
libcloudDebian:13 |
before 0.5.0-1.1 | 0.5.0-1.1 |
libcloudDebian:14 |
before 0.5.0-1.1 | 0.5.0-1.1 |
apache-libcloudPyPI |
before 0.11.1, plus listed versions 0.10.10.11.00.3.10.4.00.4.2 Show 7 moreShow less0.5.00.5.20.6.10.6.20.7.10.8.00.9.1 |
0.11.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
svn.apache.org/repos/asf/libcloud/trunk/CHANGES
cs.utexas.edu/~shmat/shmat_ccs12.pdf
nvd.nist.gov/vuln/detail/CVE-2012-3446
github.com/apache/libcloud/commit/f2af5502dae3ac63e656dd1b7d5f29cc82ded401
github.com/pypa/advisory-database/tree/main/vulns/apache-libcloud/PYSEC-2012-12.yaml
github.com/advisories/GHSA-prcq-52f8-fp44
security-tracker.debian.org/tracker/CVE-2012-3446
github.com/apache/libcloud