CVE-2013-4314 PyOpenSSL Mishandles NUL Byte In Certificate Subject Alternative Name
Man-in-the-middle attackers can spoof SSL servers by exploiting null byte handling in pyOpenSSL certificate validation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-4314?
CVE-2013-4314 is a medium-severity vulnerability in Canonical Ubuntu Linux, published on 30 Sep 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2013-4314?
3 open source packages ship an affected version, including pyopenssl and pyOpenSSL. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
pyopenssl PyPI | All versions | 0.13.1 |
pyopenssl PyPI | All versions | 0.13.1 |
pyOpenSSL PyPI | All versions | 0.13.1 |
Linux distribution packages (2)
python-pyOpenSSL openSUSE:Tumbleweed | All versions | 24.1.0-1.2 |
python-pyOpenSSL openSUSE:Tumbleweed | All versions | 26.4.0-1.1 |
Products include Canonical Ubuntu Linux, Jean-Paul Calderone Pyopenssl.
How do I fix CVE-2013-4314?
Upgrade pyopenssl to 0.13.1 or later.
Is CVE-2013-4314 being exploited?
There is no known exploitation of CVE-2013-4314 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2013-4314, DSA-2763-1, GHSA-6748-36qp-fx6r, MGASA-2013-0277, PYSEC-2013-31, openSUSE-SU-2024:10214-1 and 3 more.