Products & Services
Support

Product Categories


Popular Downloads


Manage Software

How to Buy

For Home

Linksys Products Store
Linksys is now part of Belkin
Products for everyone

All Ordering Options

Training & Events Partners
Guest

Vulnerability Alert

OpenSSL ASN.1 asn1_d2i_read_bio() Heap Overflow Vulnerability

 
Threat Type:CWE-119: Buffer Errors
IntelliShield ID:25706
Version:22
First Published:2012 April 19 21:07 GMT
Last Published:2013 September 13 12:02 GMT
Port: Not available
CVE:CVE-2012-2110 , CVE-2012-2131
BugTraq ID:53158
Urgency:Possible use
Credibility:Confirmed
Severity:Mild Damage
CVSS Base:5.0 CVSS Calculator
CVSS Version 2.0
CVSS Temporal:3.9
 
Version Summary:Juniper Networks has released a security bulletin and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.
 
 
Description
OpenSSL contains a vulnerability that could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on a targeted system.

The vulnerability is due to incorrect processing of user-supplied input received by the affected software. An unauthenticated, remote attacker could exploit this vulnerability by submitting malicious packets to the targeted system. If successful, the attacker could cause a DoS condition on the system.

Proof-of-concept code that demonstrates this vulnerability is publicly available.

The OpenSSL Project has confirmed this vulnerability and released software updates.
 
Warning Indicators
OpenSSL versions prior to 1.0.1a, 1.0.0i, and 0.9.8w are vulnerable.
 
IntelliShield Analysis
OpenSSL is implemented in many third-party applications with many different configurations. This vulnerability is limited in scope to applications that use BIO or FILE-based functions to read ASN.1 DER-encoded data from untrusted sources, such as OpenSSL functions that take the form of d2i_*_bio or d2i_*_fp.

Applications that implement memory-based ASN.1 functions, such as d2i_X509, d2i_PKCS12, and in particular the SSL/Transport Layer Security (TLS) code of OpenSSL, are not affected. Although these applications are not necessarily affected, if the applications implement calls to OpenSSL functions, such as d2i_X509_bio, they may be vulnerable.

Applications with Secure/Multipurpose Internet Mail Extensions (S/MIME) or Cryptographic Message Syntax (CMS) implementations using the built-in MIME parser SMIME_read_PKCS7 or SMIME_read_CMS are vulnerable.

The Openssh.org sshd server process is not vulnerable because it uses a different, minimal, RSA signature parser; however, other functionalities of OpenSSH, such as private key loading, may be vulnerable if they load keys from untrusted users.

To exploit this vulnerability, the attacker would need to submit crafted messages to the targeted system. In a typical enterprise network, such systems would be behind firewalls. This limitation decreases the possibility of a successful exploit attempt.

Vulnerability CVE-2012-2131 exists because of an incomplete fix for vulnerability CVE-2012-2110.
 
Vendor Announcements
OpenSSL has released security advisories at the following links:

OpenSSL Security Advisory [19 Apr 2012]
OpenSSL Security Advisory [24 Apr 2012]

Apple has released a security advisory at the following link: HT5784

BalaBit has released security announcements at the following links:

syslog-ng Premium Edition 4.2.3a
syslog-ng Premium Edition 4.0.5a

FreeBSD has released VuXML documents at the following links: OpenSSL -- integer conversions result in memory corruption and OpenSSL multiple vulnerabilities

FreeBSD has also released a security advisory at the following link: FreeBSD-SA-12:01

HP has released security bulletins
c03333987, c03383940, and c03839862 at the following links: HPSBUX02782 SSRT100844 rev.1, HPSBOV02793 SSRT100891 rev.1, and HPSBMU02900

IBM has released a security advisory at the following link: Multiple OpenSSL vulnerabilities

IBM has released a security alert at the following link: swg21607116

Juniper Networks has released a security bulletin at the following link: JSA10591

MontaVista Software has released a security alert for registered users on October 11, 2012, at the following link: MontaVista Security Fixes

Oracle has released a security notification at the following link: CVE-2012-2131

Red Hat has released an official CVE statement and security advisories for bug 814185 at the following links: CVE-2012-2110, RHSA-2012:0518, RHSA-2012:0522, RHSA-2012:1306, RHSA-2012:1307, and RHSA-2012:1308

VMware has released security advisories at the following links: VMSA-2012-0013 and VMSA-2013-0003.
 
Impact
An unauthenticated, remote attacker could exploit this vulnerability to cause memory corruption in the affected software. The corruption could cause the targeted system to become unstable, leading to a DoS condition.
 
Technical Information
The vulnerability is due to improper processing of user-supplied input received by the affected software. The affected software improperly handles parsing of Abstract Syntax Notation One (ASN.1) Distinguished Encoding Rules (DER) encoded data, such as RSA public keys or X.509 certificates. The vulnerability is in the function asn1_d2i_read_bio() in the source code file crypto/asn1/a_d2i_fp.c of the affected software and occurs due to multiple integer overflow errors while attempting to allocate memory space.

In addition, the affected software is widely implemented in many third-party applications. Third-party applications that use OpenSSL Basic Input/Output (BIO) and FILE-based functions to process ASN.1 DER-encoded data are vulnerable if they are using affected functions that take the form of d2i_*_bio() or d2i_*_fp().

An unauthenticated, remote attacker could exploit this vulnerability on systems that expose OpenSSL to untrusted data by parsing ASN.1 DER-encoded data from untrusted sources. The attacker could leverage this vulnerability by submitting crafted ASN.1 DER-encoded data to the affected software. Processing the malicious data could lead to a heap overflow memory corruption error. A successful attack could result in a DoS condition on the system.
 
Safeguards
Administrators are advised to apply the appropriate updates.

Administrators are advised to contact third-party vendors regarding future updates and releases.

Administrators may consider using IP-based access control lists (ACLs) to allow only trusted systems to access the affected systems.

Administrators are advised to implement an intrusion prevention system (IPS) or intrusion detection system (IDS) to help detect and prevent attacks that attempt to exploit this vulnerability.

Administrators are advised to monitor affected systems.
 
Patches/Software
OpenSSL has released updated software at the following links:

OpenSSL version 0.9.8w
OpenSSL version 1.0.0i
OpenSSL version 1.0.1a

Apple has released updated software at the following links:

Mac OS X and Mac OS X Server 10.6.8
Security Update 2013-002 (Snow Leopard)
Security Update 2013-002 Server (Snow Leopard)

Mac OS X and Mac OS X Server 10.7.5
Security Update 2013-002 (Lion)
Security Update 2013-002 Server (Lion)

Mac OS X 10.8.4
OS X Mountain Lion Update 10.8.4
OS X Mountain Lion Update 10.8.4 (Combo)

BalaBit has released software updates at the following links:

syslog-ng Premium Edition 4.2.3a
syslog-ng Premium Edition 4.0.5a

CentOS packages can be updated using the up2date or yum command.

FreeBSD releases ports collection updates at the following link: Ports Collection Index.

FreeBSD has also released patches at the following link: openssl2.patch

HP has released software updates for registered customers at the following links:
OPENSSL11I , HP SSL for openVMS 1.4-467, and System Management Homepage (SMH) v7.2.1

IBM has released software updates for registered users at the following link: Openssl 0.9.8.1802

IBM has released a fix at the following link: IBM Tivoli Endpoint Manager 8.2.1310

Juniper Networks customers are advised to obtain software upgrades in accordance with the vendor advisory.

Oracle has released patches for registered users at the following links:

SPARC
Solaris 10 with patch 147159-05 or later
Solaris 10 with patch 147707-06 or later

Intel
Solaris 10 with patch 146672-07 or later

MontaVista Software has released updated software for registered users at the following links:

CGE 5.1
Mobilinux 5.0
Pro 4.0.1
CGE 4.0.1
Mobilinux 4.1
Mobilinux 4.0.2
Pro 5.0.24
Pro 5.0
Mobilinux 5.0.24
CGE 6.0
MVL 6

Oracle customers are advised to acquire the Solaris 11 updated via normal Oracle support channels.

Red Hat has released updated software for registered subscribers at the following link: Red Hat Network.

Red Hat packages can be updated on Red Hat Enterprise Linux versions 5 and later using the yum tool.

Red Hat has released security updates for registered users at the following links:

JBoss Enterprise Web Server 1.0.2
JBoss Enterprise Application Platform 5.1.2
JBoss Enterprise Application Platform 6.0.0

VMware has released updated software at the following links:

ESX 4.1
ESX410-201208103-SG

ESX 3.5
ESX350-201302401-SG

 
Alert History
 
Version 21, July 22, 2013, 6:36 PM: HP has released an additional security bulletin and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 20, June 6, 2013, 3:40 PM: Apple has released a security advisory and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 19, February 25, 2013, 3:24 PM: VMware has released an additional security advisory and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 18, October 12, 2012, 7:13 AM: MontaVista Software has re-released a changelog and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 17, September 25, 2012, 10:15 AM: Red Hat has released additional security advisories and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 16, September 5, 2012, 10:50 AM: VMware has released a security advisory and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 15, August 30, 2012, 10:04 AM: BalaBit has released security announcements and software updates to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 14, August 28, 2012, 10:16 AM: MontaVista Software has released a changelog and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 13, August 14, 2012, 10:38 AM: IBM has released an additional security advisory and fix to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 12, August 9, 2012, 1:46 PM: IBM has released a security advisory and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 11, August 2, 2012, 10:51 AM: IBM has released a security advisory and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 10, July 26, 2012, 1:52 PM: MontaVista Software has released a security advisory and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 9, June 26, 2012, 3:35 PM: Oracle has released a security notification and patches to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 8, June 25, 2012, 5:28 PM: HP has released a security bulletin and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 7, May 30, 2012, 1:04 PM: FreeBSD has released a security bulletin and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 6, May 17, 2012, 5:19 PM: HP has released a security bulletin and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 5, May 4, 2012, 8:41 PM: FreeBSD has released an additional VuXML document and updated ports collection to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 4, April 25, 2012, 3:32 PM: Red Hat has released a security advisory and updated packages to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability. CentOS has also released updated packages to address this vulnerability.

Version 3, April 24, 2012, 1:25 PM: OpenSSL has released a security advisory and updated software to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 2, April 23, 2012, 8:25 AM: FreeBSD has released a VuXML document and updated ports collection to address the OpenSSL ASN.1 asn1_d2i_read_bio() heap overflow vulnerability.

Version 1, April 19, 2012, 4:07 PM: OpenSSL contains a vulnerability that could allow an unauthenticated, remote attacker to cause a denial of service condition. Updates are available.


Product Sets
 
The security vulnerability applies to the following combinations of products.

Primary Products:
OpenSSLopenssl 0.9.8 Base | 0.9.8a Base | 0.9.8b Base | 0.9.8c Base | 0.9.8d Base | 0.9.8e Base | 0.9.8f Base | 0.9.8g Base | 0.9.8h Base | 0.9.8i Base | 0.9.8j Base | 0.9.8k Base | 0.9.8l Base | 0.9.8m Base | 0.9.8n Base | 0.9.8o Base | 0.9.8p Base | 0.9.8q Base | 0.9.8r Base | 0.9.8s Base | 0.9.8t Base | 0.9.8u Base | 0.9.8v Base | 1.0.0 Base | 1.0.0a Base | 1.0.0b Base | 1.0.0c Base | 1.0.0d Base | 1.0.0e Base | 1.0.0f Base | 1.0.0g Base | 1.0.0h Base | 1.0.1 Base

Associated Products:
AppleMac OS X 10.6.8 Base | 10.7 Base | 10.7.1 Base | 10.7.2 Base | 10.7.3 Base | 10.7.4 Base | 10.7.5 Base | 10.8 Base | 10.8.1 Base | 10.8.2 Base | 10.8.3 Base
AppleMac OS X Server 10.6.8 Base | 10.7 Base | 10.7.1 Base | 10.7.2 Base | 10.7.3 Base | 10.7.4 Base | 10.7.5 Base
BalaBit IT Ltd.syslog-ng 4.0 Base, .4, .5 | 4.2 Base, .2, .2a, .3
CentOS ProjectCentOS 5 .0 i386, .0 x86_64, .1 i386, .1 x86_64, .2 i386, .2 x86_64, .3 i386, .3 x86_64, .4 i386, .4 x86_64, .5 i386, .5 x86_64 | 6 .0 i386, .0 x86_64, .1 i386, .1 x86_64, .2 i386, .2 x86_64
FreeBSD ProjectFreeBSD 6.3 Base | 6.4 Base | 7.0 Base | 7.1 Base | 7.2 Base | 7.3 Base | 7.4 Base | 8.0 Base | 8.1 Base | 8.2 Base | 9.0 Base
HPHP SSL for OpenVMS 1.4 Base
HPHP-UX 11.11/11i Base | 11.23 Base | 11.31 Base
HPSystem Management Homepage (SMH) 7.0 Base | 7.1 Base | 7.2 Base
IBMAIX 5.3 Base, .7.0, .7.1, .8, .9, .10, .11, .12 | 6.1 .0, .1, .2, .3, .4, .5, .6, .7 | 7.1 .0, .1
IBMTivoli Endpoint Manager 8.2 Base
Juniper Networks, Inc.IVE OS 7.1 Base, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, R11, R12, R13, R14 | 7.2 Base, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10 | 7.3 Base, R1, R2, R3, R4, R5 | 7.4 Base, R1, R2, R3
Juniper Networks, Inc.UAC OS 4.1 R1 | 4.2 Base | 4.3 Base | 4.4 Base
MontaVistaMontaVista Linux 6 Base | Professional 4.0.1, 5.0, 5.0.24 | Mobilinux 4.0.2, 4.1, 5.0, 5.0.24 | CGE 4.0.1, 5.1, 6.0
Oracle CorporationSolaris Express 11 2010.11
Red Hat, Inc.JBoss Enterprise Application Platform 5.1.2 Base | 6.0.0 Base
Red Hat, Inc.JBoss Enterprise Web Server 1.0 .2
Red Hat, Inc.Red Hat Enterprise Linux 5 IA-32, IA-64, PPC, ppc64, s390, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Server AUS 6.2 IA-32, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Desktop 5 IA-32, x86_64 | 6 IA-32, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Desktop Workstation 5 IA-32, x86-64
Red Hat, Inc.Red Hat Enterprise Linux ELS (Extended Life Cycle Support) 3 IA-32 | 4 IA-32, IA-64, x86_64
Red Hat, Inc.Red Hat Enterprise Linux EUS (Extended Update Support) 5.6.z IA-32, IA-64, PPC, PPC64, s390, s390x, x86_64 | 6.1.z IA-32, ppc, ppc-64, s390, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux HPC Node 6 x86_64
Red Hat, Inc.Red Hat Enterprise Linux Long Life 5.3 i386, ia64, x86_64 | 5.6 i386, ia64, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Server 6 IA-32, PPC, PPC 64, s390, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Server EUS 6.0.z IA-32, PPC, ppc64, s390, s390x, x86_64 | 6.2.z IA-32, PPC, PPC64, s390, s390x, x86_64
Red Hat, Inc.Red Hat Enterprise Linux Workstation 6 IA-32, x86_64
Sun Microsystems, Inc.Solaris 10 sparc, x64/x86
VMware, Inc.VMware ESX Server 3.5 Base, Update 1, Update 2, Update 3, Update 4 | 4.0 Base | 4.1 Base




Alerts and bulletins on the Cisco Security Intelligence Operations Portal are highlighted by analysts in the Cisco Threat Operations Center and represent a subset of the comprehensive content that is available through Cisco Security IntelliShield Alert Manager Service. This customizable threat and vulnerability alert service provides security staff with access to timely, accurate, and credible information about threats and vulnerabilities that may affect their environment.


LEGAL DISCLAIMER
The urgency and severity ratings of this alert are not tailored to individual users; users may value alerts differently based upon their network configurations and circumstances. THE ALERT, AND INFORMATION CONTAINED THEREIN, ARE PROVIDED ON AN "AS IS" BASIS AND DO NOT IMPLY ANY KIND OF GUARANTEE OR WARRANTY, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. YOUR USE OF THE ALERT, AND INFORMATION CONTAINED THEREIN, OR MATERIALS LINKED FROM THE ALERT, IS AT YOUR OWN RISK. INFORMATION IN THIS ALERT AND ANY RELATED COMMUNICATIONS IS BASED ON OUR KNOWLEDGE AT THE TIME OF PUBLICATION AND IS SUBJECT TO CHANGE WITHOUT NOTICE. CISCO RESERVES THE RIGHT TO CHANGE OR UPDATE ALERTS AT ANY TIME.
Powered by  IntelliShield