GLSA 200603-19: cURL/libcurl: Buffer overflow in the handling of TFTP URLs

Severity:normal
Title:cURL/libcurl: Buffer overflow in the handling of TFTP URLs
Date:03/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 Architecture(s)
net-misc/curl < 7.15.3 >= 7.15.1-r1 All supported architectures

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

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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!