CVE-2012-3446
MEDIUM 5.9CVSS 3.1Apache 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.
- Published
- 4 Nov 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-185CWE-20CWE-295
- Also known as
- GHSA-prcq-52f8-fp44PYSEC-2012-12
- Sources
- NVDJSONOSV GHSA-prcq-52f8-fp44JSONOSV PYSEC-2012-12JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | libcloudcpe:2.3:a:apache:libcloud:*:*:*:*:*:*:*:* |
< 0.11.0 | 0.11.0 |
| OSV | PyPI | apache-libcloud | < 0.11.1 | 0.11.1 |
References
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf · Exploit, WEB
- https://svn.apache.org/repos/asf/libcloud/trunk/CHANGES · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2012-3446 · ADVISORY
- https://github.com/apache/libcloud/commit/f2af5502dae3ac63e656dd1b7d5f29cc82ded401 · WEB
- https://github.com/apache/libcloud · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/apache-libcloud/PYSEC-2012-12.yaml · WEB
- https://github.com/advisories/GHSA-prcq-52f8-fp44 · ADVISORY
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 4 Nov 2012)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Nov 2012)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 17 May 2022)