# CVE-2010-4340: Apache Libcloud does not verify SSL certificates for HTTPS connections

Source: https://junglewise.ai/threats/cve-2010-4340-apache-libcloud-does-not-verify-ssl-certificates-for-https  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2011-09-12  
License: CC BY 4.0 with a link back

CVE-2010-4340 · Severity: low · CVSS 3.1 · Published 2011-09-12

libcloud before 0.4.1 does not verify SSL certificates for HTTPS connections, which allows remote attackers to spoof certificates and bypass intended access restrictions via a man-in-the-middle (MITM) attack.

Technologies: [apache-libcloud (PyPI)](https://junglewise.ai/threats/technologies/apache-libcloud). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2010-4340 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2010-4340 being exploited in the wild.

**How severe is CVE-2010-4340?** Low severity, with a CVSS score of 3.1, published 12 September 2011.

**Which products and versions are affected?** apache-libcloud (PyPI) ECOSYSTEM:introduced=0,fixed=0.4.0, ECOSYSTEM:introduced=0,fixed=0.4.2.

**Is there a fix for CVE-2010-4340?** Yes. apache-libcloud (PyPI): upgrade to 0.4.0, 0.4.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2010-4340?** 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.4.0, 0.4.2 or later

  ```sh
  pip install "apache-libcloud>=0.4.2"
  ```


## Affected products

- apache-libcloud (PyPI) ECOSYSTEM:introduced=0,fixed=0.4.0, ECOSYSTEM:introduced=0,fixed=0.4.2

## Identifiers

- CVE-2010-4340
- GHSA-w3j6-8j34-q43x
- PYSEC-2011-24

## Related threats

- [Libcloud does not properly scrub data when destroying a DigitalOcean node](https://junglewise.ai/threats/cve-2013-6480-libcloud-does-not-properly-scrub-data-when-destroying-a)
- [Apache Libcloud vulnerable to certificate impersonation](https://junglewise.ai/threats/cve-2012-3446-apache-libcloud-vulnerable-to-certificate-impersonation)
