---
title: "CVE-2014-3504\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-2014-3504?format=md
keywords: index, follow
---

# CVE-2014-3504

Publication date 12 August 2014

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The (1) serf\_ssl\_cert\_issuer, (2) serf\_ssl\_cert\_subject, and (3)
serf\_ssl\_cert\_certificate functions in Serf 0.2.0 through 1.3.x before
1.3.7 does not properly handle a NUL byte in a domain name in the subject's
Common Name (CN) 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 |
| --- | --- | --- |
| serf | 14.04 LTS trusty | Fixed 1.3.3-1ubuntu0.1 |
| 12.04 LTS precise | Fixed 1.0.0-2ubuntu0.1 |
| 10.04 LTS lucid | Ignored end of life |

---

* [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-2014-3504?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 |
| --- | --- |
| serf | * Upstream:   <https://code.google.com/p/serf/source/detail?r=2392> * Upstream:   <https://code.google.com/p/serf/source/detail?r=2398> * Upstream:   <https://code.google.com/p/serf/source/detail?r=2393> * Upstream:   <https://code.google.com/p/serf/source/detail?r=2399> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-2315-1](https://usn.ubuntu.com/USN-2315-1)
+ serf vulnerability
+ 14 August 2014

### Other references

* <https://groups.google.com/forum/#!topic/serf-dev/NvgPoK6sFsc>
* <https://www.cve.org/CVERecord?id=CVE-2014-3504>
