CVE-2013-4314
HIGH7.5EPSS 0.25%pyopenssl - hostname check bypassing
Published: 5/17/2022Modified: 4/28/2026
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.
Affected packages (4)
- Debian/pyopensslfrom 0, < 0.13-2.1
- Debian/pyopensslfrom 0, < 0.10-1+squeeze1
- PyPI/pyopensslfrom 0, < 0.13.1
- PyPI/pyopensslfrom 0, < 0.13.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References (11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2013-4314
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2013-4314
- PATCHhttps://github.com/pyca/pyopenssl
- WEBhttp://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=1005325
- WEBhttps://github.com/pyca/pyopenssl/commit/6bbf44a00b35fb28df1f66aa194b2fe95eab1ab2
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pyopenssl/PYSEC-2013-31.yaml
- WEBhttps://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html
- WEBhttp://www.debian.org/security/2013/dsa-2763
- WEBhttp://www.openwall.com/lists/oss-security/2013/09/06/2
- WEBhttp://www.ubuntu.com/usn/USN-1965-1