{"id":"GHSA-prcq-52f8-fp44","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.","aliases":["CVE-2012-3446","PYSEC-2012-12"],"modified":"2024-09-05T21:48:38.947245Z","published":"2022-05-17T05:19:14Z","database_specific":{"github_reviewed_at":"2024-01-12T20:09:02Z","nvd_published_at":"2012-11-04T22:55:00Z","cwe_ids":["CWE-185","CWE-20","CWE-295"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-3446"},{"type":"WEB","url":"https://github.com/apache/libcloud/commit/f2af5502dae3ac63e656dd1b7d5f29cc82ded401"},{"type":"PACKAGE","url":"https://github.com/apache/libcloud"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/apache-libcloud/PYSEC-2012-12.yaml"},{"type":"WEB","url":"https://svn.apache.org/repos/asf/libcloud/trunk/CHANGES"},{"type":"WEB","url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf"}],"affected":[{"package":{"name":"apache-libcloud","ecosystem":"PyPI","purl":"pkg:pypi/apache-libcloud"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.11.1"}]}],"versions":["0.10.1","0.11.0","0.3.1","0.4.0","0.4.2","0.5.0","0.5.2","0.6.1","0.6.2","0.7.1","0.8.0","0.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-prcq-52f8-fp44/GHSA-prcq-52f8-fp44.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}