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

# CVE-2011-5095

Publication date 20 June 2012

Last updated 24 July 2024

---

Ubuntu priority

**Negligible**

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

Toggle side navigation

## Description

The Diffie-Hellman key-exchange implementation in OpenSSL 0.9.8, when FIPS
mode is enabled, does not properly validate a public parameter, which makes
it easier for man-in-the-middle attackers to obtain the shared secret key
by modifying network traffic, a related issue to CVE-2011-1923.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| openssl | 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not affected |
| openssl098 | 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |

---

* [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-2011-5095?format=md#patch-details)

## Notes

---

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

RedHat fixed this with the openssl-fips-0.9.8e-dh-check.patch
patch in 0.9.8e-20.el5 by adding the DH\_check\_pub\_key() check to
fips/dh/fips\_dh\_key.c:compute\_key()
code not present in 1.0 series and the existing dh\_key.c code
already uses DH\_check\_pub\_key() (as does the dh\_key.c code in 0.9.8, but this
is not used when compiled in fips mode). For details of 1.0's FIPS status,
see http://www.openssl.org/docs/fips/fipsvalidation.html for details
upstream has not included RedHat's patch in their 0.9.8 series
fips\_dh\_key.c not compiled in Ubuntu

### 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 |
| --- | --- |
| openssl | * Vendor:   <http://rhn.redhat.com/errata/RHBA-2011-1010.html> |

## References

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

### Other references

* <https://discussions.nessus.org/thread/3381>
* <http://www.nessus.org/plugins/index.php?view=single&id=53360>
* <http://www.cl.cam.ac.uk/~rja14/Papers/psandqs.pdf>
* <https://www.cve.org/CVERecord?id=CVE-2011-5095>
