---
title: "CVE-2013-4314\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2013-4314?format=md
keywords: index, follow
---

# CVE-2013-4314

Publication date 9 September 2013

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| pyopenssl | 13.04 raring | Fixed 0.13-2ubuntu3.1 |
| 12.10 quantal | Fixed 0.13-2ubuntu1.1 |
| 12.04 LTS precise | Fixed 0.12-1ubuntu2.1 |
| 10.04 LTS lucid | Fixed 0.10-1ubuntu0.1 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2013-4314?format=md#patch-details)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| pyopenssl | * Upstream:   <http://bazaar.launchpad.net/~exarkun/pyopenssl/trunk/revision/169> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4314)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2013-4314)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2013-4314)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2013-4314)

### Related Ubuntu Security Notices (USN)

+ [USN-1965-1](https://usn.ubuntu.com/USN-1965-1)
+ pyOpenSSL vulnerability
+ 23 September 2013

### Other references

* <https://mail.python.org/pipermail/pyopenssl-users/2013-September/000478.html>
* <https://www.cve.org/CVERecord?id=CVE-2013-4314>
