CVE-2012-3446: Apache Libcloud SSL Server Spoofing

apache-libcloud Updated 02 Oct 2025

Summary

04/11/2012
Yes i
Moderate
5.9

CVE-2012-3446: 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 certifica... Affects apache-libcloud versions < 0.11.1. Fixed in 0.11.1. How to fix ↓

Also tracked for

The same CVE-2012-3446 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache Libcloud is an open-source Python library that provides a unified interface for interacting with different cloud service providers. It allows developers to manage various cloud resources such as virtual machines, storage, and load balancers. This vulnerability affects versions of Apache Libcloud prior to 0.11.1. The library uses an incorrect regular expression when verifying if the server hostname matches the domain name in the X.509 certificate. This flaw enables man-in-the-middle attackers to spoof SSL servers by crafting a malicious certificate.

Vulnerability Detail

The vulnerability in Apache Libcloud arises from the incorrect regular expression used for hostname verification in SSL connections. This flaw allows attackers to create fraudulent SSL certificates that appear valid to the library. By intercepting the communication between the client and the server, an attacker can impersonate the server and potentially gain unauthorized access to sensitive information or perform other malicious actions. This vulnerability poses a significant risk to applications utilizing Apache Libcloud for cloud resource management.

How To Fix

Latest published version: 3.9.1 as of 23 Oct 2026

pip install --upgrade "apache-libcloud==3.9.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.11.1

This is the first release that contains the fix.

pip install --upgrade "apache-libcloud==0.11.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to update to the latest version of Apache Libcloud as soon as possible.

Conclusion

The SSL server spoofing vulnerability in Apache Libcloud prior to version 0.11.1 can be exploited by attackers to impersonate SSL servers and potentially gain unauthorized access to sensitive information. It is crucial to update to the latest version of Apache Libcloud to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for apache-libcloud →

Share this vulnerability

FAQ

Apache Libcloud is a Python library that provides a consistent interface for managing various cloud resources across different cloud service providers.

This vulnerability allows attackers to spoof SSL servers, potentially leading to unauthorized access to sensitive information or other malicious activities.

To fix this vulnerability, update your Apache Libcloud installation to version 0.11.1 or later.

No, there are no known workarounds for this vulnerability. Updating to the latest version is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for apache-libcloud.

How To Fix

Latest published version: 3.9.1 as of 23 Oct 2026

pip install --upgrade "apache-libcloud==3.9.1"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

0.11.1

This is the first release that contains the fix.

pip install --upgrade "apache-libcloud==0.11.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback