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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-1000095The default whitelist included the following unsafe entries:…
- CVE-2017-1000096Arbitrary code execution due to incomplete sandbox protectio…
- CVE-2017-1000097On Darwin, user's trust preferences for root certificates we…7.5
- CVE-2017-1000098The net/http package's Request.ParseMultipartForm method sta…7.5
- CVE-2017-1000099When asking to get a file from a file:// URL, libcurl provid…
- CVE-2017-10001Vulnerability in the Oracle Hospitality Simphony First Editi…
- CVE-2017-1000101curl supports "globbing" of URLs, in which a user can pass a…6.5
- CVE-2017-1000102The Details view of some Static Analysis Utilities based plu…
- CVE-2017-1000103The custom Details view of the Static Analysis Utilities bas…
- CVE-2017-1000104The Config File Provider Plugin is used to centrally manage …
- CVE-2017-1000105The optional Run/Artifacts permission can be enabled by sett…
- CVE-2017-1000106Blue Ocean allows the creation of GitHub organization folder…
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
