CVE-2012-3446: Apache Libcloud vulnerable to certificate impersonation

CVE-2012-3446 · Severity: low · CVSS 3.1 · Published 2012-11-04

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.

Technologies: apache-libcloud (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2012-3446 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2012-3446 being exploited in the wild.
How severe is CVE-2012-3446?
Low severity, with a CVSS score of 3.1, published 4 November 2012.
Which products and versions are affected?
apache-libcloud (PyPI) ECOSYSTEM:introduced=0,fixed=0.11.1.
Is there a fix for CVE-2012-3446?
Yes. apache-libcloud (PyPI): upgrade to 0.11.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2012-3446?
Check whether you run apache-libcloud (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • apache-libcloud (PyPI): upgrade to 0.11.1 or later
    pip install "apache-libcloud>=0.11.1"

Affected products

  • apache-libcloud (PyPI) ECOSYSTEM:introduced=0,fixed=0.11.1

Identifiers

  • CVE-2012-3446
  • GHSA-prcq-52f8-fp44
  • PYSEC-2012-12

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.