{"vuid":"VU#255484","idnumber":"255484","name":"OpenSSL contains integer overflow handling ASN.1 tags (1)","keywords":["oulu","ouspg","fuzz","black box","test suite","tls","ssl","openssl","asn.1","ber","NISCC/006489/openssl/1","integer overflow"],"overview":"A vulnerability in the way OpenSSL handles ASN.1 tags could allow a remote attacker to cause a denial of service.","clean_desc":"OpenSSL implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) protocols and includes a general purpose cryptographic library. SSL and TLS are commonly used to provide authentication, encryption, integrity, and non-repudiation services to network applications such as HTTP, IMAP, POP3, LDAP, and others. Clients and servers exchange authentication information in X.509 certificates. While the SSL and TLS protocols are not directly based on ASN.1, they do rely on ASN.1 objects used in X.509 certificates and other cryptographic elements (e.g. PKCS#1 encoded RSA values). OpenSSL contains an integer overflow vulnerability in the way ASN.1 tags are handled. A specially crafted ASN.1 tag could cause the OpenSSL library to perform an out-of-bounds memory read operation. This could result in a denial of service, crashing the process using the OpenSSL library. From the OpenSSL advisory: <blockquote> <pre> <font face=\"courier\"> 2. Unusual ASN.1 tag values can cause an out of bounds read under\ncertain circumstances, resulting in a denial of service vulnerability. </font> </pre> </blockquote> All versions of SSLeay and versions of OpenSSL prior to 0.9.7c or 0.9.6k are vulnerable, as are operating systems and applications that use vulnerable SSLeay or OpenSSL libraries. The OpenSSL advisory describes as vulnerable \"Any application that makes use of OpenSSL's ASN1 library to parse untrusted data. This includes all SSL or TLS applications, those using S/MIME (PKCS#7) or certificate generation routines.\" The U.K. National Infrastructure Security Co-ordination Centre (NISCC) is tracking this vulnerability (VU#255484) and VU#380864 as NISCC/006489/openssl/1.","impact":"By providing specially crafted ASN.1 encoded data to a vulnerable system, a remote attacker could cause a denial of service. One potential attack vector is a client certificate message containing specially crafted X.509 certificates.","resolution":"Upgrade or Patch\nUpgrade to OpenSSL 0.9.7c  or 0.9.6k. Alternatively, upgrade or apply a patch as specified by your vendor. Further information is available in an advisory from OpenSSL. Note that it is necessary to recompile any applications that are statically linked to OpenSSL libraries.","workarounds":"","sysaffected":"","thanks":"This vulnerability was discovered and researched by \nNISCC","author":"This document was written by Art Manion.","public":["http://www.uniras.gov.uk/vuls/2003/006489/openssl.htm","http://www.openssl.org/news/secadv_20030930.txt","http://wp.netscape.com/eng/ssl3/","http://www.ietf.org/rfc/rfc2246.txt","http://www.ietf.org/html.charters/pkix-charter.html","http://www.itu.int/ITU-T/studygroups/com10/languages/"],"cveids":["CVE-2003-0543"],"certadvisory":"CA-2003-26","uscerttechnicalalert":null,"datecreated":"2003-09-30T00:15:36Z","publicdate":"2003-09-30T00:00:00Z","datefirstpublished":"2003-09-30T12:19:02Z","dateupdated":"2003-10-01T22:26:10Z","revision":43,"vrda_d1_directreport":"0","vrda_d1_population":"2","vrda_d1_impact":"2","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"10","cam_population":"15","cam_impact":"5","cam_easeofexploitation":"16","cam_attackeraccessrequired":"20","cam_scorecurrent":"11.25","cam_scorecurrentwidelyknown":"13.5","cam_scorecurrentwidelyknownexploited":"22.5","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":11.25,"vulnote":null}