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

# CVE-2011-0766

Publication date 31 May 2011

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

The random number generator in the Crypto application before 2.0.2.2, and
SSH before 2.0.5, as used in the Erlang/OTP ssh library before R14B03, uses
predictable seeds based on the current time, which makes it easier for
remote attackers to guess DSA host and SSH session keys.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| erlang | 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Ignored end of life |
| 11.04 natty | Ignored end of life |
| 10.10 maverick | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | 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-2011-0766?format=md#patch-details)

## Notes

---

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

Debian squeeze has fix in 1:14.a-dfsg-3squeeze1

---

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

erlang-ssh in in universe in lucid and natty. Patch only
adds new functions to crypto library, doesn't change existing
ones, so downgrading priority.
Backport is difficult due to appup changes.

### 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 |
| --- | --- |
| erlang | * Other:   [f228601](https://github.com/erlang/otp/commit/f228601de45c5b53241b103af6616453c50885a5) |

## References

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

### Other references

* <http://www.kb.cert.org/vuls/id/178990>
* <https://www.cve.org/CVERecord?id=CVE-2011-0766>
