CVE-2012-3446 Apache Libcloud vulnerable to certificate impersonation
Man-in-the-middle attackers can spoof SSL servers due to incorrect hostname verification in Apache Libcloud, bypassing certificate validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-3446?
CVE-2012-3446 is a medium-severity vulnerability in n/a, published on 4 Nov 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-295
Which versions are affected by CVE-2012-3446?
3 open source packages ship an affected version, including apache-libcloud. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache-libcloud PyPI | All versions | 0.11.1 |
apache-libcloud PyPI | All versions | 0.11.1 |
apache-libcloud PyPI | All versions | 0.11.1 |
Products include Apache Libcloud.
How do I fix CVE-2012-3446?
Upgrade apache-libcloud to 0.11.1 or later.
Is CVE-2012-3446 being exploited?
There is no known exploitation of CVE-2012-3446 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-3446, GHSA-prcq-52f8-fp44, PYSEC-2012-12.