tech-security archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
NetBSD Security Advisory 2008-007: OpenSSL Multiple issues
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NetBSD Security Advisory 2008-007
=================================
Topic: OpenSSL Multiple issues
Version: NetBSD-3.1.*: affected
NetBSD-3.1: affected
NetBSD-3.0.*: affected
NetBSD-3.0: affected
pkgsrc: openssl packages prior to 0.9.7inb5
openssl packages prior to 0.9.8g
Severity: Denial of service and remote code execution
Fixed: NetBSD-3-1 branch: December 19, 2007
(3.1.2 will include the fixes)
NetBSD-3-0 branch: December 19, 2007
(3.0.4 will include the fixes)
NetBSD-3 branch: December 19, 2007
(3.2 will include the fixes)
pkgsrc: openssl-0.9.7inb5 corrects the issues
openssl-0.9.8g corrects the issues
Abstract
========
There are multiple issues with OpenSSL supplied with the NetBSD 3.x releases.
An audit of previously released security issues known to impact OpenSSL
highlighted, that while all issues had been fixed in the CVS branches, security
advisories detailing these issues has not been released. This advisory
details the known OpenSSL issues in the NetBSD 3.x releases.
These vulnerabilities have been assigned CVE-2006-2937, CVE-2006-2940,
CVE-2006-3738, CVE-2006-4343 and CVE-2007-5135.
Technical Details
=================
* CVE-2006-2937 and CVE-2006-2940: ASN.1 Denial of Service Attacks
A malformed ASN.1 structure could allow an attacker to cause a
denial of service condition by triggering a mishandled error.
Certain values in X.509 certificates could take additional time to
process when using RSA signature verification.
* CVE-2006-3738: SSL_get_shared_ciphers() buffer overflow
An attacker could use the SSL_get_shared_ciphers() function in order
to trigger a buffer overflow.
* CVE-2006-4343: SSLv2 Client Crash
A malicious server accepting SSLv2 connections could cause the connecting
client to crash.
* CVE-2007-5135: SSL_get_shared_ciphers() off-by-one error
An additional issue was found in SSL_get_shared_ciphers() after the fix
for CVE-2006-3738 was applied. This may allow remote attackers to
trigger a one-byte buffer overflow.
Solutions and Workarounds
=========================
As this advisory covers multiple issues the following table can be used
to identify which NetBSD releases are impacted by the individual issues:
CVE Number Branches Impacted Fix date Releases Impacted
CVE-2006-2937 3, 3-0 06/10/2006 3.0, 3.0.1
CVE-2006-2940 3, 3-0 06/10/2006 3.0, 3.0.1
CVE-2006-3738 3, 3-0 06/10/2006 3.0, 3.0.1
CVE-2006-4343 3, 3-0 06/10/2006 3.0, 3.0.1
CVE-2007-5135 3, 3-0, 3-1 19/12/2007 3.*, 3.0.*, 3.1.*
The following instructions describe how to upgrade your OpenSSL
binaries by updating your source tree and rebuilding and
installing a new version of OpenSSL.
* NetBSD 3.*:
Systems running NetBSD 3.* sources dated from before
2007-12-19 should be upgraded from NetBSD 3.* sources dated
2007-12-20 or later.
The following files/directories need to be updated from the
netbsd-3, netbsd-3-0 or netbsd-3-1 branches:
crypto/dist/openssl/crypto/asn1/tasn_dec.c
crypto/dist/openssl/crypto/dh/dh.h
crypto/dist/openssl/crypto/dh/dh_err.c
crypto/dist/openssl/crypto/dh/dh_key.c
crypto/dist/openssl/crypto/dsa/dsa.h
crypto/dist/openssl/crypto/dsa/dsa_err.c
crypto/dist/openssl/crypto/dsa/dsa_ossl.c
crypto/dist/openssl/crypto/rsa/rsa.h
crypto/dist/openssl/crypto/rsa/rsa_eay.c
crypto/dist/openssl/crypto/rsa/rsa_err.c
crypto/dist/openssl/ssl/s2_clnt.c
crypto/dist/openssl/ssl/s3_srvr.c
crypto/dist/openssl/ssl/ssl_lib.c
To update from CVS, re-build, and re-install OpenSSL:
# cd src
# cvs update -r <branch_name> \
crypto/dist/openssl/crypto/asn1/tasn_dec.c \
crypto/dist/openssl/crypto/dh/dh.h \
crypto/dist/openssl/crypto/dh/dh_err.c \
crypto/dist/openssl/crypto/dh/dh_key.c \
crypto/dist/openssl/crypto/dsa/dsa.h \
crypto/dist/openssl/crypto/dsa/dsa_err.c \
crypto/dist/openssl/crypto/dsa/dsa_ossl.c \
crypto/dist/openssl/crypto/rsa/rsa.h \
crypto/dist/openssl/crypto/rsa/rsa_eay.c \
crypto/dist/openssl/crypto/rsa/rsa_err.c \
crypto/dist/openssl/ssl/s2_clnt.c \
crypto/dist/openssl/ssl/s3_srvr.c \
crypto/dist/openssl/ssl/ssl_lib.c
# cd lib/libcrypt
# make USETOOLS=no cleandir dependall
# cd ../../lib/libcrypto
# make USETOOLS=no cleandir dependall
# make USETOOLS=no install
# cd ../../lib/libssl
# make USETOOLS=no cleandir dependall
# make USETOOLS=no install
Revision History
================
2008-05-08 Initial release
More Information
================
Advisories may be updated as new information becomes available.
The most recent version of this advisory (PGP signed) can be found at
ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2008-007.txt.asc
Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.org/ and http://www.NetBSD.org/Security/.
Copyright 2008, The NetBSD Foundation, Inc. All Rights Reserved.
Redistribution permitted only in full, unmodified form.
$NetBSD: NetBSD-SA2008-007.txt,v 1.1 2008/05/06 21:36:26 adrianp Exp $
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)
iQCVAwUBSCDPaz5Ru2/4N2IFAQLDCgP+Pt3xpLupGVVXpdpJGhGvuP8DzeQ6dtQ5
+wBbfxuL9nuPZ/1S+DIXU01WZxQ7rnvCABiqGbZC9uK/2zHrtRMW1zv+SxLFr9h5
1hxuRHK4RAokO5oSCBY4SW/vHEKT3bMKCvKwXLjm9xBTRXKwupC9NDCusxQ8K4r6
eKwahdd6zR0=
=T4Cc
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index