CVE-2013-4314
MEDIUM 4.3CVSS 2.0PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name
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
- 30 Sep 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-6748-36qp-fx6rPYSEC-2013-31
- Sources
- NVDJSONOSV GHSA-6748-36qp-fx6rJSONOSV PYSEC-2013-31JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:*:*:*:*:*:*:*:* |
<= 0.13 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.7:*:*:*:*:*:*:* |
= 0.7 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.8:a1:*:*:*:*:*:* |
= 0.8 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.9:*:*:*:*:*:*:* |
= 0.9 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.10:*:*:*:*:*:*:* |
= 0.10 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.11:*:*:*:*:*:*:* |
= 0.11 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.11:a1:*:*:*:*:*:* |
= 0.11 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.11:a2:*:*:*:*:*:* |
= 0.11 | |
| NVD | jean-paul_calderone | pyopensslcpe:2.3:a:jean-paul_calderone:pyopenssl:0.12:*:*:*:*:*:*:* |
= 0.12 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:10.04:-:lts:*:*:*:*:* |
= 10.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:-:lts:*:*:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.10:*:*:*:*:*:*:* |
= 12.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:13.04:*:*:*:*:*:*:* |
= 13.04 | |
| OSV | PyPI | pyopenssl | < 0.13.1 | 0.13.1 |
References
- http://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html · WEB
- http://www.debian.org/security/2013/dsa-2763 · WEB, ADVISORY
- http://www.openwall.com/lists/oss-security/2013/09/06/2 · WEB
- http://www.ubuntu.com/usn/USN-1965-1 · Vendor Advisory, WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=1005325 · WEB, REPORT
- https://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-4314 · ADVISORY
- https://github.com/pyca/pyopenssl/commit/6bbf44a00b35fb28df1f66aa194b2fe95eab1ab2 · WEB
- https://github.com/pyca/pyopenssl · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2013-31.yaml · WEB
- https://github.com/advisories/GHSA-6748-36qp-fx6r · ADVISORY
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 30 Sep 2013)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Sep 2013)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 17 May 2022)