Bug 180903

Summary: CVE-2006-0645 GnuTLS x509 DER DoS
Product: Red Hat Enterprise Linux 4 Reporter: Mark J. Cox <mjc>
Component: gnutlsAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 4.0CC: security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: reported=20060209,source=gentoo,public=20060209:1538,impact=important
Fixed In Version: RHSA-2006-0207 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-10 21:38:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
proposed patch
none
Testcase none

Description Mark J. Cox 2006-02-10 14:32:38 UTC
Reported at http://lists.gnupg.org/pipermail/gnutls-dev/2006-February/001058.html

"this release fixes several serious bugs that would make the DER
decoder in libtasn1 crash on invalid input."

GNU TLS includes Libtasn1, a library developed for ASN.1 strutures management
which includes DER encoding and decoding.  Several flaws were found in the way
libtasn1 decodes DER.  An attacker could create a carefully crafted invalid
X.509 certificate in such a way that could trigger this flaw if parsed by an
application linked to GNU TLS.  This could lead to a denial of service
(application crash).  It is not yet known if this issue could be escalated to
allow arbitrary code execution.

In Red Hat Enterprise Linux 4, only Evolution makes use of this functionality.

Comment 1 Martin Stransky 2006-02-10 17:08:57 UTC
Created attachment 124516 [details]
proposed patch

Comment 2 Josh Bressers 2006-02-10 17:38:48 UTC
Created attachment 124519 [details]
Testcase

Comment 3 Red Hat Bugzilla 2006-02-10 21:38:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2006-0207.html