Bug 83481 (CVE-2005-1431) - VUL-0: CVE-2005-1431: gnutls DoS
Summary: VUL-0: CVE-2005-1431: gnutls DoS
Status: RESOLVED FIXED
Alias: CVE-2005-1431
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL:
Whiteboard: CVE-2005-1431: CVSS v2 Base Score: 5....
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-12 07:48 UTC by Ludwig Nussel
Modified: 2021-11-03 15:48 UTC (History)
4 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
gnutls dos patch (317 bytes, text/plain)
2005-07-13 07:51 UTC, Hendrik Vogelsang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ludwig Nussel 2005-05-12 07:48:57 UTC
We received the following report via bugtraq.
The issue is public.

No server seems to depend on gnutls so stable only fix is sufficient I guess.

Date: Mon, 9 May 2005 10:43:54 +0200
From: Matthias Geerdsen <vorlon@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Cc: bugtraq@securityfocus.com, full-disclosure@lists.grok.org.uk,
	security-alerts@linuxsecurity.com
Subject: [ GLSA 200505-04 ] GnuTLS: Denial of Service vulnerability

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200505-04
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: GnuTLS: Denial of Service vulnerability
      Date: May 09, 2005
      Bugs: #90726
        ID: 200505-04

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The GnuTLS library is vulnerable to Denial of Service attacks.

Background
==========

GnuTLS is a free TLS 1.0 and SSL 3.0 implementation for the GNU
project.

Affected packages
=================

    -------------------------------------------------------------------
     Package          /  Vulnerable  /                      Unaffected
    -------------------------------------------------------------------
  1  net-libs/gnutls       < 1.2.3                            >= 1.2.3
                                                            *>= 1.0.25

Description
===========

A vulnerability has been discovered in the record packet parsing in the
GnuTLS library. Additionally, a flaw was also found in the RSA key
export functionality.

Impact
======

A remote attacker could exploit this vulnerability and cause a Denial
of Service to any application that utilizes the GnuTLS library.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All GnuTLS users should remove the existing installation and upgrade to
the latest version:

    # emerge --sync
    # emerge --unmerge gnutls
    # emerge --ask --oneshot --verbose net-libs/gnutls

Due to small API changes with the previous version, please do the
following to ensure your applications are using the latest GnuTLS that
you just emerged.

    # revdep-rebuild --soname-regexp libgnutls.so.1[0-1]

Previously exported RSA keys can be fixed by executing the following
command on the key files:

    # certtool -k infile outfile

References
==========

  [ 1 ] GnuTLS Announcement
        http://lists.gnupg.org/pipermail/gnutls-dev/2005-April/000858.html
  [ 2 ] CAN-2005-1431
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1431

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200505-04.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0
Comment 1 Hendrik Vogelsang 2005-05-25 09:47:24 UTC
will do
Comment 2 Hendrik Vogelsang 2005-05-25 10:48:12 UTC
done
Comment 3 Hendrik Vogelsang 2005-05-25 10:48:35 UTC
checked in
Comment 4 Thomas Biege 2005-06-15 10:29:40 UTC
What about an update for 9.3?
Comment 5 Hendrik Vogelsang 2005-06-15 10:32:25 UTC
lnussel said as gnutls isnt used by any server app fixing stable is enough
Comment 6 Thomas Biege 2005-06-15 10:40:17 UTC
ok!
Comment 7 Thomas Biege 2005-07-08 11:16:03 UTC
Ok, I will reopen it again b/c I saw that rcd uses libsoup which uses gnutls.

Therefore we have server code using gnutls.

It's likely that other Ximian code uses SOUP+SSL as well.

Ludwig told me that they made API changes in the update. But these changes may
not be necessary for the fix, aren't they?


Comment 8 Thomas Biege 2005-07-08 11:16:13 UTC
Ok, I will reopen it again b/c I saw that rcd uses libsoup which uses gnutls.

Therefore we have server code using gnutls.

It's likely that other Ximian code uses SOUP+SSL as well.

Ludwig told me that they made API changes in the update. But these changes may
not be necessary for the fix, aren't they?
Comment 9 Hendrik Vogelsang 2005-07-13 07:50:13 UTC
uh that sucks. rcd is compiled static against everything. ill check. 

gnutls and rcd should be enough then or?

And please have a look at the patch. Attached
Comment 10 Hendrik Vogelsang 2005-07-13 07:51:05 UTC
Created attachment 41777 [details]
gnutls dos patch
Comment 11 Hendrik Vogelsang 2005-07-14 12:26:36 UTC
packages submitted to 9.1, 9.2, 9.3. Im not sure how to proceed now. How can we
know when rcd will pick up a libsoup that is compiled against the fixed gnutls?
Comment 12 Ludwig Nussel 2005-07-14 12:59:13 UTC
I don't know, why don't you link it dynamically anyways? 
Does only rcd contain the gnutls lib or any other subpackage as well? 
Comment 13 Hendrik Vogelsang 2005-07-14 13:06:40 UTC
because then rcd would not be able to update itself or libsoup. ximian
development said the rcd binary needs to be static.

rcd links libsoup static at compile time which uses gnutls.
Comment 14 Marcus Meissner 2005-07-14 14:15:41 UTC
Just include rcd in the patchinfo file for gnutls. 
 
an rcd update will probably be done for 9.1 anyway on backmerging the sp2 
tree. 
Comment 15 Ludwig Nussel 2005-07-14 15:05:22 UTC
SM-Tracker-1799 
Comment 16 Heiko Rommel 2005-07-20 13:29:58 UTC
notes by QA:

I have taken some testcase from
http://www.gnu.org/software/gnutls/manual/gnutls.html

and added them to pdb:
http://pdb.suse.de/pdb-testcases.pl?Package=gnutls&Release=10&tcid=5807&sortkey=5
Comment 17 Marcus Meissner 2005-07-20 16:06:10 UTC
updates approved. 
Comment 19 Marcus Meissner 2005-09-05 11:12:07 UTC
harald, what is the status here? 
Comment 20 Harald Mueller-Ney 2005-09-06 09:44:13 UTC
this should be in patch-10431 - f93152df6a15f25149d78610657d2b17

For all core9-based products (NLD, OES,SLES).

The idea was to release the same code to 9.3 after some "real live" experiences.
Heiko found a "new" problem. I add him as I haven't the new bug-ID
Comment 21 Harald Mueller-Ney 2005-09-06 10:22:46 UTC
see last comment ...
Comment 22 Hendrik Vogelsang 2005-09-06 12:56:40 UTC
you dont want to wait with this update untill gnutls is arch clean. The bugs
heiko discovered where always present...
Comment 23 Marcus Meissner 2005-09-14 10:56:14 UTC
this is so minor for the 9.3 box, and rcd is not default used there anyway, 
that we can skip fixing redcarpet for 9.3. 
 
lets rest this issue. 
Comment 24 Thomas Biege 2009-10-13 21:22:59 UTC
CVE-2005-1431: CVSS v2 Base Score: 5.0 (AV:N/AC:L/Au:N/C:N/I:N/A:P)