From vorlon@gentoo.org Tue Mar 21 15:41:35 2006
From: Matthias Geerdsen <vorlon@gentoo.org>
To: gentoo-announce@lists.gentoo.org
Cc: full-disclosure@lists.grok.org.uk, bugtraq@securityfocus.com, security-alerts@linuxsecurity.com
Date: Tue, 21 Mar 2006 21:42:05 +0100
Subject: [Full-disclosure] [ GLSA 200603-19 ] cURL/libcurl: Buffer overflow in the handling of TFTP URLs

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200603-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: cURL/libcurl: Buffer overflow in the handling of TFTP URLs
      Date: March 21, 2006
      Bugs: #125766
        ID: 200603-19

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

Synopsis
========

libcurl is affected by a buffer overflow in the handling of URLs for
the TFTP protocol, which could be exploited to compromise a user's
system.

Background
==========

cURL is a command line tool for transferring files with URL syntax,
supporting numerous protocols. libcurl is the corresponding client-side
library.

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

    -------------------------------------------------------------------
     Package        /  Vulnerable  /                        Unaffected
    -------------------------------------------------------------------
  1  net-misc/curl      < 7.15.3                         *>= 7.15.1-r1
                                                             >= 7.15.3
                                                             <= 7.14.1

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

Ulf Harnhammar reported a possible buffer overflow in the handling of
TFTP URLs in libcurl due to the lack of boundary checks.

Impact
======

An attacker could exploit this vulnerability to compromise a user's
system by enticing the user to request a malicious URL with
cURL/libcurl or to use a HTTP server redirecting to a malicious TFTP
URL.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All cURL users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=net-misc/curl-7.15.1-r1"

References
==========

  [ 1 ] Project cURL Security Advisory, March 20th 2006
        http://curl.haxx.se/docs/adv_20060320.html
  [ 2 ] CVE-2006-1061
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1061

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

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

  http://security.gentoo.org/glsa/glsa-200603-19.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 2006 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


    [ Part 1.2, "OpenPGP digital signature"  Application/PGP-SIGNATURE ]
    [ 266bytes. ]
    [ Unable to print this part. ]


    [ Part 2: "Attached Text" ]

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/