CVE-2012-3446
Description
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.
Severity
MEDIUM
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
1.214%
chance of exploitation in the next 30 days
higher than 69% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-295: Improper Certificate Validation
Timeline
- 2012-11-04Published by the CNA22:00 UTC
- 2022-05-17GitHub advisory published (GHSA-prcq-52f8-fp44)3481 days after publication
Exploit and advisory records
GitHub advisory GHSA-prcq-52f8-fp44, affected packages:
| Ecosystem | Package | Vulnerable range | Patched |
|---|---|---|---|
| PyPI | apache-libcloud | < 0.11.1 | 0.11.1 |
Affected products
| Vendor | Product |
|---|---|
| apache | libcloud |
References
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- https://svn.apache.org/repos/asf/libcloud/trunk/CHANGES
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2012-3446'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2012-3446'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2012-3446'curl 'https://api.contrastcyber.com/cve_products/CVE-2012-3446'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).