CVE-2017-1000100
Last modified
CVE-2017-1000100 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 3.96% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
| Haxx | Libcurl | 7.16.4 |
| Haxx | Libcurl | 7.17.0 |
| Haxx | Libcurl | 7.17.1 |
| Haxx | Libcurl | 7.18.0 |
| Haxx | Libcurl | 7.18.1 |
| Haxx | Libcurl | 7.18.2 |
| Haxx | Libcurl | 7.19.0 |
| Haxx | Libcurl | 7.19.1 |
| Haxx | Libcurl | 7.19.2 |
| Haxx | Libcurl | 7.19.3 |
| Haxx | Libcurl | 7.19.4 |
| Haxx | Libcurl | 7.19.5 |
| Haxx | Libcurl | 7.19.6 |
| Haxx | Libcurl | 7.19.7 |
| Haxx | Libcurl | 7.20.0 |
| Haxx | Libcurl | 7.20.1 |
| Haxx | Libcurl | 7.21.0 |
| Haxx | Libcurl | 7.21.1 |
| Haxx | Libcurl | 7.21.2 |
| Haxx | Libcurl | 7.21.3 |
| Haxx | Libcurl | 7.21.4 |
| Haxx | Libcurl | 7.21.5 |
| Haxx | Libcurl | 7.21.6 |
| Haxx | Libcurl | 7.21.7 |
| Haxx | Libcurl | 7.22.0 |
| Haxx | Libcurl | 7.23.0 |
| Haxx | Libcurl | 7.23.1 |
| Haxx | Libcurl | 7.24.0 |
| Haxx | Libcurl | 7.25.0 |
| Haxx | Libcurl | 7.26.0 |
| Haxx | Libcurl | 7.27.0 |
| Haxx | Libcurl | 7.28.0 |
| Haxx | Libcurl | 7.28.1 |
| Haxx | Libcurl | 7.29.0 |
| Haxx | Libcurl | 7.30.0 |
| Haxx | Libcurl | 7.31.0 |
| Haxx | Libcurl | 7.32.0 |
| Haxx | Libcurl | 7.33.0 |
| Haxx | Libcurl | 7.34.0 |
| Haxx | Libcurl | 7.35.0 |
Showing 50 of 79 affected configurations. See NVD for the full list.
References
- http://www.securityfocus.com/bid/100286Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039118Third Party Advisory, VDB Entry
- https://curl.haxx.se/docs/adv_20170809B.htmlPatch, Vendor Advisory
- https://security.gentoo.org/glsa/201709-14Patch, Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/100286Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039118Third Party Advisory, VDB Entry
- https://curl.haxx.se/docs/adv_20170809B.htmlPatch, Vendor Advisory
- https://security.gentoo.org/glsa/201709-14Patch, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-1000100?
How severe is CVE-2017-1000100?
How do I fix CVE-2017-1000100?
Are you affected by CVE-2017-1000100?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
