exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

NetBSD-SA2001-013.txt.asc

NetBSD-SA2001-013.txt.asc
Posted Feb 5, 2002
Site netbsd.org

NetBSD Security Advisory 2001-013 - The OpenSSL libcrypto includes a PRNG (pseudo random number generator) implementation. The logic used for PRNG was not strong enough, and allows attackers to guess the internal state of the PRNG. Therefore, attackers can predict future PRNG output. This vulnerability undermines the security level of cryptographic programs such as ssh and pgp.

systems | netbsd
SHA-256 | 264acefa92a1c14959125bb710b0220fa91d956f0c123a93d60a53ec07ffb5b8

NetBSD-SA2001-013.txt.asc

Change Mirror Download
-----BEGIN PGP SIGNED MESSAGE-----


NetBSD Security Advisory 2001-013
=================================

Topic: OpenSSL PRNG weakness (up to 0.9.6a)

Version: NetBSD-current: source prior to July 10, 2001
NetBSD 1.5.1: affected
NetBSD 1.5: affected
pkgsrc: OpenSSL packages prior to 0.9.6b or 0.9.6nb1

Severity: attacker can predict sequence of future PRNG outputs

Fixed: NetBSD-current: July 10, 2001
NetBSD-1.5 branch: July 29, 2001 (1.5.2 includes the fix)
pkgsrc: openssl-0.9.6b or openssl-0.9.6nb1

Abstract
========

The OpenSSL libcrypto includes a PRNG (pseudo random number generator)
implementation. The logic used for PRNG was not strong enough,
and allows attackers to guess the internal state of the PRNG.
Therefore, attackers can predict future PRNG output.


Technical Details
=================

http://www.openssl.org/news/secadv_prng.txt


Solutions and Workarounds
=========================

The problem can be remedied by replacing the libcrypto library,
and recompiling all statically-linked binaries on the system that
use this library.

The following instructions describe how to upgrade your OpenSSL
libraries by updating your source tree and rebuilding and installing
a new version of the OpenSSL libraries.


* All NetBSD releases using OpenSSL from pkgsrc:

If you are using OpenSSL from pkgsrc, upgrade it to either of
the following packages:
openssl-0.9.6b or higher
openssl-0.9.6nb1 (0.9.6 + specific fix for the issue)

Also, make sure that you upgrade any statically-linked binaries
in packages and local applications that have been linked with
libcrypto.


* NetBSD-current:

Systems running NetBSD-current dated from before 2001-07-10
should be upgraded to NetBSD-current dated 2001-07-11 or later.

The following directories need to be updated from the
netbsd-current CVS branch (aka HEAD):
src/crypto/dist/openssl
src/lib/libcrypto

To update from CVS, re-build, and re-install the OpenSSL
libraries:
# cd src
# cvs update -d -P crypto/dist/openssl lib/libcrypto
# cd lib/libcrypto
# make cleandir dependall
# make install

You also need to upgrade any statically-linked binaries
that use libcrypto. Whilst there are no statically-linked
binaries in the default NetBSD installation that use
libcrypto, it would be a good idea to run a full build
(i.e. "make build").


* NetBSD 1.5, 1.5.1:

Systems running NetBSD 1.5 or 1.5.1 sources dated from
before 2001-07-29 should be upgraded from NetBSD 1.5.x
sources dated 2001-07-30 or later.

NetBSD 1.5.2 is not vulnerable.

The following source needs to be updated to version 1.2
or later from the netbsd-1-5 CVS branch:
crypto/dist/openssl/crypto/rand/md_rand.c

To update from CVS, re-build, and re-install the OpenSSL
libraries:
# cd src
# cvs update -d -P crypto/dist/openssl/crypto/rand
# cd lib/libcrypto
# make cleandir dependall
# make install


Alternatively, apply the following patch (with potential offset
differences):
ftp://ftp.netbsd.org/pub/NetBSD/security/patches/SA2001-013-openssl-1.5.patch

To patch, re-build and re-install the OpenSSL libraries:
# cd src/crypto/dist/openssl/crypto/rand
# patch < /path/to/SA2001-013-openssl-1.5.patch
# cd ../../../../../lib/libcrypto
# make cleandir dependall
# make install


You also need to upgrade any statically-linked binaries
that use libcrypto. Whilst there are no statically-linked
binaries in the default NetBSD installation that use
libcrypto, it would be a good idea to run a full build
(i.e. "make build").


Thanks To
=========

Jun-ichiro Hagino for the fix to -current and 1.5

Markku-Juhani O. Saarinen for discovering the problem
in the PRNG and reporting it to the OpenSSL project.


Revision History
================

2001-08-23 Initial release

2001-10-26 Fix incorrect reference to telnetd(8)


More Information
================

An up-to-date PGP signed copy of this release will be maintained at
ftp://ftp.netbsd.org/pub/NetBSD/security/advisories/NetBSD-SA2001-013.txt.asc

Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.ORG/ and http://www.NetBSD.ORG/Security/.


Copyright 2001, The NetBSD Foundation, Inc. All Rights Reserved.

$NetBSD: NetBSD-SA2001-013.txt,v 1.14 2001/10/25 15:15:47 lukem Exp $

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iQCVAwUBO9gsuz5Ru2/4N2IFAQF9egP/cfOHWs9F3nkSuEhyYjSQZiGoYjqU+IbH
R1mnbQrKC1bWakF6UWMc+WTA9oPfA2dYR1VAJmH6YhDFwfDtdyZa7oiXyeETRaYv
HIXPsSP5U/zfhtJTrBZdUyXUZVXwbP4qRr5oinQ6fWHUU8w9zg0HLa9vYiXkTbIF
LlaIw5ohma0=
=rov7
-----END PGP SIGNATURE-----
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    16 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close