Advisory

GHSA-prcq-52f8-fp44

Also known as: CVE-2012-3446, PYSEC-2012-12

Summary

Apache Libcloud vulnerable to certificate impersonation

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 05:19 UTC
Modified
2024-09-05 21:48 UTC

Affected packages and fixes

apache-libcloud

PyPI · All systems

Affected

  • introduced 0, fixed 0.11.1 (ecosystem)

Fixed versions

0.11.1

Fix

  • Fixed version 0.11.1
    pip install --upgrade apache-libcloud==0.11.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences