{"schema_version":"1.7.3","id":"GHSA-6748-36qp-fx6r","published":"2022-05-17T04:56:46Z","modified":"2024-10-24T22:06:51.043867Z","aliases":["CVE-2013-4314","PYSEC-2013-31"],"summary":"PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name","details":"The X509Extension in pyOpenSSL before 0.13.1 does not properly handle a `\\0` character in a domain name in the Subject Alternative Name field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority.","affected":[{"package":{"name":"pyopenssl","ecosystem":"PyPI","purl":"pkg:pypi/pyopenssl"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.13.1"}]}],"versions":["0.10","0.11","0.12","0.13","0.6","0.7","0.8","0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-6748-36qp-fx6r/GHSA-6748-36qp-fx6r.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4314"},{"type":"WEB","url":"https://github.com/pyca/pyopenssl/commit/6bbf44a00b35fb28df1f66aa194b2fe95eab1ab2"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1005325"},{"type":"PACKAGE","url":"https://github.com/pyca/pyopenssl"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2013-31.yaml"},{"type":"WEB","url":"https://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html"},{"type":"WEB","url":"http://www.debian.org/security/2013/dsa-2763"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2013/09/06/2"},{"type":"WEB","url":"http://www.ubuntu.com/usn/USN-1965-1"}],"database_specific":{"cwe_ids":["CWE-20"],"github_reviewed":true,"github_reviewed_at":"2024-02-23T20:57:09Z","nvd_published_at":"2013-09-30T21:55:00Z","severity":"HIGH"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"}]}