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

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.

Affected packages

net-misc/curl on all architectures
Affected versions < 7.15.3
Unaffected versions revision >= 7.15.1-r1
>= 7.15.3
<= 7.14.1

Background

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

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

Release date
March 21, 2006

Latest revision
March 21, 2006: 01

Severity
normal

Exploitable
remote

Bugzilla entries