Apache Libcloud Vulnerable to Certificate Impersonation

apache-libcloud Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
5.9

CVE-2012-3446: Apache Libcloud vulnerable to certificate impersonation. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 networking. This vulnerability affects versions of Apache Libcloud before 0.11.1. The library uses an incorrect regular expression when verifying whether the server hostname matches the domain name in the X.509 certificate. This flaw enables man-in-the-middle attackers to impersonate SSL servers by crafting malicious certificates.

Vulnerability Detail

The vulnerability in Apache Libcloud arises from the incorrect regular expression used for hostname verification in SSL/TLS connections. By exploiting this flaw, an attacker can create a certificate with a spoofed domain name that matches the server's hostname. This allows the attacker to intercept and manipulate the communication between the client and the server, potentially leading to data theft, unauthorized access, or other malicious activities.

How To Fix

Minimum fixed version

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 upgrade to the latest version of Apache Libcloud as soon as possible.

Conclusion

Apache Libcloud versions before 0.11.1 are vulnerable to certificate impersonation due to an incorrect regular expression used for hostname verification. This flaw allows attackers to spoof SSL servers and potentially perform malicious activities. Users should upgrade to version 0.11.1 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for apache-libcloud →

Share this vulnerability

FAQ

Apache Libcloud is a Python library for interacting with various cloud service providers, providing a unified interface for managing cloud resources.

Versions of Apache Libcloud before 0.11.1 are affected by this vulnerability.

An attacker can exploit this vulnerability by creating a malicious certificate with a spoofed domain name that matches the server's hostname, allowing them to intercept and manipulate communication.

The consequences of this vulnerability include data theft, unauthorized access, and potential manipulation of communication between the client and the server.

There is no known workaround for this vulnerability. It is recommended to upgrade to the latest version of Apache Libcloud.

Related vulnerabilities

Recent vulnerabilities recorded for apache-libcloud.

How To Fix

Minimum fixed version

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