Jump to content

- - - - -

OpenSSL bug found in Debian Linux

  • Please log in to reply
1 reply to this topic

#1 Mikorist


    ▂ ▃ █ ▅ ▆

  • Advanced user
  • 771 posts
    United Nations

Posted 19 May 2008 - 08:35 AM

Debian Linux got a bit of a black eye this week with the announcement that a
nasty cryptographic vulnerability exists in its version of the OpenSSL package.

Package..............: openssl
Vulnerability........: predictable random number generator
Problem type.......: remote
CVE Id(s)............: CVE-2008-0166

Luciano Bello discovered that the random number generator in Debian's
openssl package is predictable. This is caused by an incorrect
Debian-specific change to the openssl package (CVE-2008-0166). As a
result, cryptographic key material may be guessable.

This is a Debian-specific vulnerability which does not affect other
operating systems which are not based on Debian. However, other systems
can be indirectly affected if weak keys are imported into them.

It is strongly recommended that all cryptographic key material which has
been generated by OpenSSL versions starting with 0.9.8c-1 on Debian
systems is recreated from scratch. Furthermore, all DSA keys ever used
on affected Debian systems for signing or authentication purposes should
be considered compromised; the Digital Signature Algorithm relies on a
secret random value used during signature generation.

The first vulnerable version, 0.9.8c-1, was uploaded to the unstable
distribution on 2006-09-17, and has since propagated to the testing and
current stable (etch) distributions. The old stable distribution
(sarge) is not affected.

Affected keys include SSH keys, OpenVPN keys, DNSSEC keys, and key
material for use in X.509 certificates and session keys used in SSL/TLS
connections. Keys generated with GnuPG or GNUTLS are not affected,

Check your system:

ssh-keyscan -t rsa HOSTNAME | ssh-vulnkey -

If you have something like this:

~$ ssh-keyscan -t rsa localhost | ssh-vulnkey -
# localhost SSH-2.0-OpenSSH_4.3p2 Debian-9
# COMPROMISED: 2048 16:1a:35:c4:4e:c6:d0:bf:0c:87:26:19:59:57:ac:6d -


The solution? Upgrade OpenSSL and re-generate all your SSH and SSL keys. This problem not only affects Debian, but also all its derivatives, such as Ubuntu. ;)

Upgrade instructions

~# apt-get update

		will update the internal database

~# apt-get install openssh-server

		will install corrected packages

The following NEW packages will be installed:
The following packages will be upgraded:
libssl0.9.8 openssh-client openssh-server

Setting up openssh-server (4.3p2-9etch2) …
Creating SSH2 RSA key; this may take some time …
Creating SSH2 DSA key; this may take some time …
Restarting OpenBSD Secure Shell server: sshd.



#2 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10545 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
    European Union

Posted 21 May 2008 - 01:07 AM

ubuntu released a fresh update to solve this issue.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users