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

# CVE-2014-8151

Publication date 15 January 2015

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

The darwinssl\_connect\_step1 function in lib/vtls/curl\_darwinssl.c in
libcurl 7.31.0 through 7.39.0, when using the DarwinSSL (aka
SecureTransport) back-end for TLS, does not check if a cached TLS session
validated the certificate when reusing the session, which allows
man-in-the-middle attackers to spoof servers via a crafted certificate.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2014-8151?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| curl | 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not affected |
| 12.04 LTS precise | Not affected |
| 10.04 LTS lucid | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

specific to DarwinSSL backend

## References

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

### Other references

* <http://curl.haxx.se/docs/adv_20150108A.html>
* <https://www.cve.org/CVERecord?id=CVE-2014-8151>
