CVE-2017-1000100

MEDIUM

libcurl - Exposure of Sensitive Information via TFTP URL Redirect

Title source: llm
STIX 2.1

Description

When doing a TFTP transfer and curl/libcurl is given a URL that contains a very long file name (longer than about 515 bytes), the file name is truncated to fit within the buffer boundaries, but the buffer size is still wrongly updated to use the untruncated length. This too large value is then used in the sendto() call, making curl attempt to send more data than what is actually put into the buffer. The endto() function will then read beyond the end of the heap based buffer. A malicious HTTP(S) server could redirect a vulnerable libcurl-using client to a crafted TFTP URL (if the client hasn't restricted which protocols it allows redirects to) and trick it to send private memory contents to a remote server over UDP. Limit curl's redirect protocols with --proto-redir and libcurl's with CURLOPT_REDIR_PROTOCOLS.

References (7)

Core 7
Core References
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208221
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/100286
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3558
Patch, Third Party Advisory, VDB Entry vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201709-14
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1039118
Patch, Vendor Advisory x_refsource_confirm
https://curl.haxx.se/docs/adv_20170809B.html
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2017/dsa-3992

Scores

CVSS v3 6.5
EPSS 0.0062
EPSS Percentile 70.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-200
Status published
Products (50)
haxx/libcurl 7.15.0
haxx/libcurl 7.15.1
haxx/libcurl 7.15.2
haxx/libcurl 7.15.3
haxx/libcurl 7.15.4
haxx/libcurl 7.15.5
haxx/libcurl 7.16.0
haxx/libcurl 7.16.1
haxx/libcurl 7.16.2
haxx/libcurl 7.16.3
... and 40 more
Published Oct 05, 2017
Tracked Since Feb 18, 2026