VYPR
Medium severity6.5NVD Advisory· Published Oct 5, 2017· Updated May 13, 2026

CVE-2017-1000100

CVE-2017-1000100

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.

Affected products

79
  • Haxx/Libcurl79 versions
    cpe:2.3:a:haxx:libcurl:7.15.0:*:*:*:*:*:*:*+ 78 more
    • cpe:2.3:a:haxx:libcurl:7.15.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.15.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.15.2:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.15.3:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.15.4:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.15.5:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.16.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.16.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.16.2:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.16.3:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.16.4:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.17.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.17.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.18.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.18.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.18.2:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.2:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.3:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.4:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.5:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.6:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.19.7:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.20.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.20.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.2:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.3:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.4:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.5:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.6:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.21.7:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.22.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.23.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.23.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.24.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.25.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.26.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.27.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.28.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.28.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.29.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.30.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.31.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.32.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.33.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.34.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.35.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.36.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.37.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.37.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.38.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.39:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.40.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.41.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.42.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.42.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.43.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.44.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.45.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.46.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.47.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.47.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.48.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.49.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.49.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.50.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.50.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.50.2:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.50.3:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.51.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.52.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.52.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.53.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.53.1:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.54.0:*:*:*:*:*:*:*
    • cpe:2.3:a:haxx:libcurl:7.54.1:*:*:*:*:*:*:*

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

7

News mentions

0

No linked articles in our index yet.