CVE-2013-4314
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.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Debian 14 | pyopenssl | Fixed | 0.13-2.1 | DEBIAN-CVE-2013-4314 |
| Debian 13 | pyopenssl | Fixed | 0.13-2.1 | DEBIAN-CVE-2013-4314 |
| Debian 12 | pyopenssl | Fixed | 0.13-2.1 | DEBIAN-CVE-2013-4314 |
| Red Hat Enterprise Linux 7 | pyOpenSSL | Not affected | ||
| Red Hat Enterprise Linux 7 | pyOpenSSL-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | pyOpenSSL | Not affected | ||
| Red Hat Enterprise Linux 5 | pyOpenSSL | Not affected | ||
| PyPI library | pyopenssl | Fixed | 0.13.1 | GHSA-6748-36qp-fx6r |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.debian.org/security/2013/dsa-2763 (vendor-advisory)
- http://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html (vendor-advisory)
- http://www.ubuntu.com/usn/USN-1965-1 (vendor-advisory)
References
- http://www.debian.org/security/2013/dsa-2763
- https://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1005325
- http://lists.opensuse.org/opensuse-updates/2013-11/msg00015.html
- http://www.openwall.com/lists/oss-security/2013/09/06/2
- http://www.ubuntu.com/usn/USN-1965-1
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.