CVE-2013-4314
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
1.197%
chance of exploitation in the next 30 days
higher than 68.6% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2013-09-30Published by the CNA21:00 UTC
- 2022-05-17GitHub advisory published (GHSA-6748-36qp-fx6r)3151 days after publication
Exploit and advisory records
GitHub advisory GHSA-6748-36qp-fx6r, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI pyopenssl | before 0.13.1 | 0.13.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| jean-paul_calderone pyopenssl | 0.10no fix listed0.11no fix listed0.12no fix listedthrough 0.13no fix listed0.7no fix listed(+2 more) | not listednot listednot listednot listednot listed |
| canonical ubuntu_linux | 10.04no fix listed12.04no fix listed12.10no fix listed13.04no fix listed | not listednot listednot listednot listed |
References
- http://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html
- http://www.debian.org/security/2013/dsa-2763
- http://www.ubuntu.com/usn/USN-1965-1
- http://www.openwall.com/lists/oss-security/2013/09/06/2
- https://bugzilla.redhat.com/show_bug.cgi?id=1005325
- https://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2013-4314'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2013-4314'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2013-4314'curl 'https://api.contrastcyber.com/cve_products/CVE-2013-4314'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).