From owner-freebsd-announce Mon Jul 30 16: 7:18 2001 Delivered-To: freebsd-announce@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CDC7837B405; Mon, 30 Jul 2001 16:07:08 -0700 (PDT) (envelope-from security-advisories@FreeBSD.org) Received: (from kris@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6UN78I92838; Mon, 30 Jul 2001 16:07:08 -0700 (PDT) (envelope-from security-advisories@FreeBSD.org) Date: Mon, 30 Jul 2001 16:07:08 -0700 (PDT) Message-Id: <200107302307.f6UN78I92838@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: kris set sender to security-advisories@FreeBSD.org using -f From: FreeBSD Security Advisories To: FreeBSD Security Advisories Subject: FreeBSD Security Advisory FreeBSD-SA-01:51.openssl Reply-To: security-advisories@FreeBSD.org Sender: owner-freebsd-announce@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- ============================================================================= FreeBSD-SA-01:51 Security Advisory FreeBSD, Inc. Topic: OpenSSL 0.9.6a and earlier contain flaw in PRNG Category: core Module: openssl Announced: 2001-07-30 Credits: Markku-Juhani O. Saarinen The OpenSSL Project Affects: All releases of FreeBSD 4.x prior to 4.4, FreeBSD 4.3-STABLE prior to the correction date Corrected: 2001-07-19 21:00:45 UTC (FreeBSD 4.3-STABLE) 2001-07-19 21:01:08 UTC (FreeBSD 4.3-SECURITY aka RELENG_4_3) FreeBSD only: NO I. Background FreeBSD includes software from the OpenSSL Project. The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. II. Problem Description A flaw in the pseudo-random number generator (PRNG) of OpenSSL versions previous to 0.9.6b allows an attacker to determine the PRNG state and future output under certain restricted conditions, thereby weakening the strength of the PRNG and any cryptographic protection which is derived from it. In effect, the flaw is that a portion of the PRNG state is incorrectly used as the PRNG output, allowing attackers to gain knowledge of the internal state of the PRNG by observing the output if they can sample it in a certain way. An attack taking advantage of this flaw has been identified that can recover the complete state of the PRNG from the output of one carefully sized PRNG request followed by a few hundred consecutive 1-byte PRNG requests. This access pattern is not typically obtainable in real-world uses of the PRNG in cryptographic protocols, and no exploit against a protocol supported by OpenSSL is currently known. III. Impact By successfully exploiting a flaw in the PRNG, an attacker can gain important information that may allow him to deduce nonces (leading to the compromise of the protocol session) or encryption keys (allowing the attacker to obtain the plaintext of the encrypted data). Whether or not this flaw is exploitable depends upon the specifics of the application using OpenSSL. No vulnerable applications or protocols are currently known. IV. Workaround None applicable. V. Solution One of the following: 1) Upgrade your vulnerable FreeBSD system to 4.3-STABLE or the 4.3-SECURITY (aka RELENG_4_3) security branch after the respective correction dates. 2) FreeBSD 4.x systems prior to the correction date: The following patch have been verified to apply to FreeBSD 4.2-RELEASE, 4.3-RELEASE and 4.3-STABLE dated prior to the correction date. These patches may or may not apply to older, unsupported releases of FreeBSD. Download the patch and the detached PGP signature from the following locations, and verify the signature using your PGP utility. ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:51/openssl.patch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:51/openssl.patch.asc # cd /usr/src/ # patch -p < /path/to/patch # cd /usr/src/lib/libcrypto/ # make depend && make all install One must also recompile any statically linked applications that use OpenSSL's PRNG. There are no such applications in the base system. 3) FreeBSD 4.3-RELEASE systems: An experimental upgrade package is available for users who wish to provide testing and feedback on the binary upgrade process. This package may be installed on FreeBSD 4.3-RELEASE systems only, and is intended for use on systems for which source patching is not practical or convenient. If you use the upgrade package, feedback (positive or negative) to security-officer@FreeBSD.org is requested so we can improve the process for future advisories. During the installation procedure, backup copies are made of the files which are replaced by the package. These backup copies will be reinstalled if the package is removed, reverting the system to a pre-patched state. # fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/packages/SA-01:51/security-patch-openssl-01.51.tgz # fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/packages/SA-01:51/security-patch-openssl-01.51.tgz.asc Verify the detached PGP signature using your PGP utility. # pkg_add security-patch-openssl-01.51.tgz VI. Correction details The following list contains the revision numbers of each file that was corrected for the maintained versions of FreeBSD. FreeBSD Version and CVS Tag Path Revision - ------------------------------------------------------------------------- FreeBSD 4.3-SECURITY (tag: RELENG_4_3) src/crypto/openssl/crypto/rand/md_rand.c 1.1.1.1.2.2.2.1 FreeBSD 4.3-STABLE (tag: RELENG_4) src/crypto/openssl/crypto/rand/md_rand.c 1.1.1.1.2.4 - ------------------------------------------------------------------------- VII. References -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iQCVAwUBO2XkmVUuHi5z0oilAQFtJgP/WG21Z4Z61Lm2g9DPyvfXuPP9y4CjWl7J NqRPnIDoohXAGDm6KSybuNJ5DJ9jkdo4KW81S51w+aIMK6CvNb6yx1u+IDQsyuUD D6kzRid/RVhryBvG6W93VsLSw5wxZAyxDXZztdypemaEGWVXVJ3DKabTbJRfOFXH QlzWH/UvxDI= =KGqc -----END PGP SIGNATURE----- This is the moderated mailing list freebsd-announce. The list contains announcements of new FreeBSD capabilities, important events and project milestones. See also the FreeBSD Web pages at http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-announce" in the body of the message From owner-freebsd-announce Tue Jul 31 12:36:52 2001 Delivered-To: freebsd-announce@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id B758F37B403; Tue, 31 Jul 2001 12:36:39 -0700 (PDT) (envelope-from security-advisories@FreeBSD.org) Received: (from kris@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6VJada17938; Tue, 31 Jul 2001 12:36:39 -0700 (PDT) (envelope-from security-advisories@FreeBSD.org) Date: Tue, 31 Jul 2001 12:36:39 -0700 (PDT) Message-Id: <200107311936.f6VJada17938@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: kris set sender to security-advisories@FreeBSD.org using -f From: FreeBSD Security Advisories To: FreeBSD Security Advisories Subject: FreeBSD Security Advisory FreeBSD-SA-01:51.openssl [REVISED] Reply-To: security-advisories@FreeBSD.org Sender: owner-freebsd-announce@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -----BEGIN PGP SIGNED MESSAGE----- ============================================================================= FreeBSD-SA-01:51 Security Advisory FreeBSD, Inc. Topic: OpenSSL 0.9.6a and earlier contain flaw in PRNG [REVISED] Category: core Module: openssl Announced: 2001-07-30 Revised: 2001-07-31 Credits: Markku-Juhani O. Saarinen The OpenSSL Project Affects: All releases of FreeBSD 4.x prior to 4.4, FreeBSD 4.3-STABLE prior to the correction date Corrected: 2001-07-19 21:00:45 UTC (FreeBSD 4.3-STABLE) 2001-07-19 21:01:08 UTC (FreeBSD 4.3-SECURITY aka RELENG_4_3) FreeBSD only: NO 0. Revision History v1.0 2001-07-30 Initial release v1.1 2001-07-31 Corrected patch instructions I. Background FreeBSD includes software from the OpenSSL Project. The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a full-strength general purpose cryptography library. II. Problem Description A flaw in the pseudo-random number generator (PRNG) of OpenSSL versions previous to 0.9.6b allows an attacker to determine the PRNG state and future output under certain restricted conditions, thereby weakening the strength of the PRNG and any cryptographic protection which is derived from it. In effect, the flaw is that a portion of the PRNG state is incorrectly used as the PRNG output, allowing attackers to gain knowledge of the internal state of the PRNG by observing the output if they can sample it in a certain way. An attack taking advantage of this flaw has been identified that can recover the complete state of the PRNG from the output of one carefully sized PRNG request followed by a few hundred consecutive 1-byte PRNG requests. This access pattern is not typically obtainable in real-world uses of the PRNG in cryptographic protocols, and no exploit against a protocol supported by OpenSSL is currently known. III. Impact By successfully exploiting a flaw in the PRNG, an attacker can gain important information that may allow him to deduce nonces (leading to the compromise of the protocol session) or encryption keys (allowing the attacker to obtain the plaintext of the encrypted data). Whether or not this flaw is exploitable depends upon the specifics of the application using OpenSSL. No vulnerable applications or protocols are currently known. IV. Workaround None applicable. V. Solution One of the following: 1) Upgrade your vulnerable FreeBSD system to 4.3-STABLE or the 4.3-SECURITY (aka RELENG_4_3) security branch after the respective correction dates. 2) FreeBSD 4.x systems prior to the correction date: The following patch have been verified to apply to FreeBSD 4.2-RELEASE, 4.3-RELEASE and 4.3-STABLE dated prior to the correction date. These patches may or may not apply to older, unsupported releases of FreeBSD. Download the patch and the detached PGP signature from the following locations, and verify the signature using your PGP utility. ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:51/openssl.patch ftp://ftp.freebsd.org/pub/FreeBSD/CERT/patches/SA-01:51/openssl.patch.asc # cd /usr/src/ # patch -p < /path/to/patch # cd /usr/src/secure/lib/libcrypto/ # make depend && make all install One must also recompile any statically linked applications that use OpenSSL's PRNG. There are no such applications in the base system. 3) FreeBSD 4.3-RELEASE systems: An experimental upgrade package is available for users who wish to provide testing and feedback on the binary upgrade process. This package may be installed on FreeBSD 4.3-RELEASE systems only, and is intended for use on systems for which source patching is not practical or convenient. If you use the upgrade package, feedback (positive or negative) to security-officer@FreeBSD.org is requested so we can improve the process for future advisories. During the installation procedure, backup copies are made of the files which are replaced by the package. These backup copies will be reinstalled if the package is removed, reverting the system to a pre-patched state. # fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/packages/SA-01:51/security-patch-openssl-01.51.tgz # fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/packages/SA-01:51/security-patch-openssl-01.51.tgz.asc Verify the detached PGP signature using your PGP utility. # pkg_add security-patch-openssl-01.51.tgz VI. Correction details The following list contains the revision numbers of each file that was corrected for the maintained versions of FreeBSD. FreeBSD Version and CVS Tag Path Revision - ------------------------------------------------------------------------- FreeBSD 4.3-SECURITY (tag: RELENG_4_3) src/crypto/openssl/crypto/rand/md_rand.c 1.1.1.1.2.2.2.1 FreeBSD 4.3-STABLE (tag: RELENG_4) src/crypto/openssl/crypto/rand/md_rand.c 1.1.1.1.2.4 - ------------------------------------------------------------------------- VII. References -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iQCVAwUBO2cIaFUuHi5z0oilAQHilgQAq8VsYlRClfALI5NLhJ5HPJpI+WZYr9wp rhPygQgYKuTsM89XYi3Cz3OUxNP7l4x1Zp846DHLS+9TVuOWxclxxWCvwybcIT/L 3uhqwTAVM225g7TqDdc3kq0sFVTs3NRb13PgPz84QUdl/DcYkikfH49SSbvrQvch hHGsw1Ohiao= =R/xp -----END PGP SIGNATURE----- This is the moderated mailing list freebsd-announce. The list contains announcements of new FreeBSD capabilities, important events and project milestones. See also the FreeBSD Web pages at http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-announce" in the body of the message From owner-freebsd-announce Tue Jul 31 20:50:40 2001 Delivered-To: freebsd-announce@freebsd.org Received: from klapaucius.zer0.org (klapaucius.zer0.org [204.152.186.45]) by hub.freebsd.org (Postfix) with ESMTP id 4341337B40F; Tue, 31 Jul 2001 20:25:31 -0700 (PDT) (envelope-from gsutter@zer0.org) Received: by klapaucius.zer0.org (Postfix, from userid 1001) id AB671239A53; Tue, 31 Jul 2001 20:25:30 -0700 (PDT) Date: Tue, 31 Jul 2001 20:25:30 -0700 From: Gregory Sutter To: debian-devel@debian.org, announce@FreeBSD.org, announce@NetBSD.org, announce@OpenBSD.org Subject: OpenPackages Milestone 2 Release Message-ID: <20010731202530.A58785@klapaucius.zer0.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GSafuNNN4NHc9BES" Content-Disposition: inline User-Agent: Mutt/1.3.19i Organization: daemonnews X-Purpose: For great justice! Mail-Copies-To: poster Sender: owner-freebsd-announce@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --GSafuNNN4NHc9BES Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable OpenPackages "Milestone 2" Release http://openpackages.org/ OpenPackages intends to create a software packaging system that will allow third-party programs to be installed, without operating system dependent changes, on as many platforms as are feasible. OpenPackages was originally based on code from the BSD ports systems, and has been improved and extended by developers of many heritages. The OpenPackages Project is pleased to release the Milestone 2 codebase. This release contains a working package building system and a single test package. OP currently is known to build on certain instances of the following operating systems. - FreeBSD - HP/UX=20 - Irix - Linux (Debian, Red Hat, Suse, Mandrake, TurboLinux, Caldera, etc.) - NetBSD - OpenBSD - Solaris Detailed information on systems known to successfully complete the build test can be found in the SUPPORT file: http://www.openpackages.org/release/0.2/SUPPORT ftp://ftp.openpackages.org/op/SUPPORT The release itself, with detached signature, can be found in the following locations: http://www.openpackages.org/release/0.2/op-0.2.tar.gz http://www.openpackages.org/release/0.2/op-0.2.tar.gz.sig ftp://ftp.openpackages.org/op/op-0.2.tar.gz ftp://ftp.openpackages.org/op/op-0.2.tar.gz.sig ftp://mirror.csociety.org/pub/op/op-0.2.tar.gz ftp://mirror.csociety.org/pub/op/op-0.2.tar.gz.sig After downloading the tarball, and verifying its integrity, extract it and in op/tools run "sandboxtest". This should automatically install and try to use the OpenPackages code base on your system, in a sandbox. If you have any problems, let know. Thanks to everyone who helped! OpenPackages Resources: WWW: http://www.openpackages.org/ CVSWeb: http://cvsweb.openpackages.org/ AnonCVS: http://openpackages.org/html/anoncvs.php Mailing Lists: http://openpackages.org/mailman/listinfo/ Greg --=20 Gregory S. Sutter Build a man a fire, and he'll be warm mailto:gsutter@daemonnews.org for a day. Set a man on fire, and he'll http://www.daemonnews.org/ be warm for the rest of his life.=20 hkp://wwwkeys.pgp.net/0x845DFEDD --GSafuNNN4NHc9BES Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Comment: '' iD8DBQE7Z3aqIBUx1YRd/t0RAk/QAJ9zrOSevGJastdUDIKaZE52n2P03ACdETxH vgmIiHyRgCOIcVgVRheu6k0= =rD6z -----END PGP SIGNATURE----- --GSafuNNN4NHc9BES-- This is the moderated mailing list freebsd-announce. The list contains announcements of new FreeBSD capabilities, important events and project milestones. See also the FreeBSD Web pages at http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-announce" in the body of the message