<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>hswong3i's blog</title>
  <link rel="alternate" type="text/html" href="http://www.debian.org.hk/blog/hswong3i"/>
  <link rel="self" type="application/atom+xml" href="http://www.debian.org.hk/blog/1213/atom/feed"/>
  <id>http://www.debian.org.hk/blog/1213/atom/feed</id>
  <updated>2008-05-22T15:16:54+08:00</updated>
  <entry>
    <title>DSA-1571-1 openssl -- predictable random number generator</title>
    <link rel="alternate" type="text/html" href="http://www.debian.org.hk/blog-entry/dsa-1571-1-openssl-predictable-random-number-generator" />
    <id>http://www.debian.org.hk/blog-entry/dsa-1571-1-openssl-predictable-random-number-generator</id>
    <published>2008-05-15T23:04:04+08:00</published>
    <updated>2008-05-22T15:16:54+08:00</updated>
    <author>
      <name>hswong3i</name>
    </author>
    <category term="Debian" />
    <category term="Traditional Chinese" />
    <summary type="html"><![CDATA[<dl>
<dt>Date Reported:</dt>
<dd>13 May 2008</dd>
<dt>Affected Packages:</dt>
<dd> <a href="http://packages.debian.org/src:openssl">openssl</a> </dd>
<dt>Vulnerable:</dt>
<dd class="warning">Yes</dd>
<dt>Security database references:</dt>
<dd>In Mitre's CVE dictionary: <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0166">CVE-2008-0166</a>.</dd>
<dd>
    ]]></summary>
    <content type="html"><![CDATA[<dl>
<dt>Date Reported:</dt>
<dd>13 May 2008</dd>
<dt>Affected Packages:</dt>
<dd> <a href="http://packages.debian.org/src:openssl">openssl</a> </dd>
<dt>Vulnerable:</dt>
<dd class="warning">Yes</dd>
<dt>Security database references:</dt>
<dd>In Mitre's CVE dictionary: <a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0166">CVE-2008-0166</a>.</dd>
<dd>
</dd>
<dt>More information:</dt>
<dd>
<p>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 (<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0166">CVE-2008-0166</a>). As a result, cryptographic key material may be guessable.</p>
<p>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.</p>
<p>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.</p>
<p>The first vulnerable version, 0.9.8c-1, was uploaded to the unstable distribution on 2006-09-17, and has since that date propagated to the testing and current stable (etch) distributions. The old stable distribution (sarge) is not affected.</p>
<p>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, though.</p>
<p>A detector for known weak key material will be published at:</p>
<p><a href="http://security.debian.org/project/extra/dowkd/dowkd.pl.gz">http://security.debian.org/project/extra/dowkd/dowkd.pl.gz</a>   <a href="http://security.debian.org/project/extra/dowkd/dowkd.pl.gz.asc">(OpenPGP signature)</a></p>
<p>Instructions how to implement key rollover for various packages will be published at:</p>
<p><a href="http://www.debian.org/security/key-rollover/">http://www.debian.org/security/key-rollover/</a></p>
<p>This web site will be continously updated to reflect new and updated instructions on key rollovers for packages using SSL certificates. Popular packages not affected will also be listed.</p>
<p>In addition to this critical change, two other vulnerabilities have been fixed in the openssl package which were originally scheduled for release with the next etch point release: OpenSSL's DTLS (Datagram TLS, basically SSL over UDP) implementation did not actually implement the DTLS specification, but a potentially much weaker protocol, and contained a vulnerability permitting arbitrary code execution (<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4995">CVE-2007-4995</a>). A side channel attack in the integer multiplication routines is also addressed (<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3108">CVE-2007-3108</a>).</p>
<p>For the stable distribution (etch), these problems have been fixed in version 0.9.8c-4etch3.</p>
<p>For the unstable distribution (sid) and the testing distribution (lenny), these problems have been fixed in version 0.9.8g-9.</p>
<p>We recommend that you upgrade your openssl package and subsequently regenerate any cryptographic material, as outlined above.</p>
</dd>
</dl>
<dl>
<dd>
<p>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 (<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0166">CVE-2008-0166</a>). As a result, cryptographic key material may be guessable.</p>
<p>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.</p>
<p>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.</p>
<p>The first vulnerable version, 0.9.8c-1, was uploaded to the unstable distribution on 2006-09-17, and has since that date propagated to the testing and current stable (etch) distributions. The old stable distribution (sarge) is not affected.</p>
<p>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, though.</p>
<p>A detector for known weak key material will be published at:</p>
<p><a href="http://security.debian.org/project/extra/dowkd/dowkd.pl.gz">http://security.debian.org/project/extra/dowkd/dowkd.pl.gz</a>   <a href="http://security.debian.org/project/extra/dowkd/dowkd.pl.gz.asc">(OpenPGP signature)</a></p>
<p>Instructions how to implement key rollover for various packages will be published at:</p>
<p><a href="http://www.debian.org/security/key-rollover/">http://www.debian.org/security/key-rollover/</a></p>
<p>This web site will be continously updated to reflect new and updated instructions on key rollovers for packages using SSL certificates. Popular packages not affected will also be listed.</p>
<p>In addition to this critical change, two other vulnerabilities have been fixed in the openssl package which were originally scheduled for release with the next etch point release: OpenSSL's DTLS (Datagram TLS, basically SSL over UDP) implementation did not actually implement the DTLS specification, but a potentially much weaker protocol, and contained a vulnerability permitting arbitrary code execution (<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-4995">CVE-2007-4995</a>). A side channel attack in the integer multiplication routines is also addressed (<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-3108">CVE-2007-3108</a>).</p>
<p>For the stable distribution (etch), these problems have been fixed in version 0.9.8c-4etch3.</p>
<p>For the unstable distribution (sid) and the testing distribution (lenny), these problems have been fixed in version 0.9.8g-9.</p>
<p>We recommend that you upgrade your openssl package and subsequently regenerate any cryptographic material, as outlined above.</p>
</dd>
</dl>
    ]]></content>
  </entry>
</feed>
