GitHub Advisoryadvisory · PyPI

GHSA-prcq-52f8-fp44 Apache Libcloud vulnerable to certificate impersonation

MEDIUM Published 2022-05-17 Modified 2024-09-05 Official page ↗
Aliases
CVE-2012-3446
Ecosystem
PyPI
Packages
apache-libcloud
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-185, CWE-20, CWE-295
Reviewed
2024-01-12

Affected packages

• PyPI apache-libcloud: < 0.11.1 → fixed in 0.11.1

Description

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.

Related

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (3)

  • CWE-185 Incorrect Regular Expression weakness
  • CWE-20 Improper Input Validation weakness
  • CWE-295 Improper Certificate Validation weakness

References