{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2013-4314","id":"CVE-2013-4314","title":"PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name","description":"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.","descriptionLong":"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.","published":"2013-09-30T21:00:00.000Z","updated":"2026-08-07T10:11:59.110036834Z","reserved":"2013-06-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"},"metrics":[{"version":"4.0","score":null,"vector":"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pyopenssl","purl":"pkg:pypi/pyopenssl","ranges":["<0.13.1"],"fixed":["0.13.1"],"advisory":"GHSA-6748-36qp-fx6r"}],"cwes":["CWE-20"],"aliases":["GHSA-6748-36qp-fx6r","PYSEC-2013-31"],"references":[{"url":"http://www.debian.org/security/2013/dsa-2763","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory","web"]},{"url":"https://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1005325","tags":["x_refsource_CONFIRM","x_transferred","report","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2013/09/06/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://www.ubuntu.com/usn/USN-1965-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4314","tags":["advisory"]},{"url":"https://github.com/pyca/pyopenssl/commit/6bbf44a00b35fb28df1f66aa194b2fe95eab1ab2","tags":["web"]},{"url":"https://github.com/pyca/pyopenssl","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2013-31.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6748-36qp-fx6r","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01197,"epssPercentile":0.68722,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2013-4314","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-4314","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2013-4314","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6748-36qp-fx6r","ok":true,"note":"GHSA-6748-36qp-fx6r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2013-4314","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}