CVE-2017-1000100
Reported by mitre · Published October 4, 2017
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| lib32-libcurl-gnutls | Arch Linux | 7.56.0-1 |
| libcurl-compat | Arch Linux | 7.56.0-1 |
| libcurl-gnutls | Arch Linux | 7.56.0-1 |
| lib32-curl | Arch Linux | 7.56.0-1 |
| curl | Arch Linux | 7.55-1 |
| curl | Alpine | 7.55.0-r0 |
| curl | Ubuntu:16.04:LTS | 7.47.0-1ubuntu2.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | lib32-libcurl-gnutls | 0 |
| arch | libcurl-compat | 0 |
| arch | libcurl-gnutls | 0 |
| arch | lib32-curl | 0 |
| arch | curl | 0 |
| alpine | curl | 0 |
| n/a | n/a | * |
| arch | lib32-libcurl-compat | 0 |
Timeline
- Oct 4, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (6 in total, the first dated here)
- Mar 5, 2026 Security Advisory (6 in total, the first dated here)
- Oct 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-1000100
vulnetix vdb fixes CVE-2017-1000100
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-1000100/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 100286 vdb-entryx_refsource_BID
- RHSA-2018:3558 vendor-advisoryx_refsource_REDHAT
- GLSA-201709-14 vendor-advisoryx_refsource_GENTOO
- 1039118 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- DSA-3992 vendor-advisoryx_refsource_DEBIAN