CVEvulnerability
CVE-2017-1000100
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2017-10-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CVSS 3.0 ([email protected])
- 6.5 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-200
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 configurations
• 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
• haxx libcurl 7.36.0
• haxx libcurl 7.37.0
• haxx libcurl 7.37.1
• haxx libcurl 7.38.0
• haxx libcurl 7.39
• haxx libcurl 7.40.0
• haxx libcurl 7.41.0
• haxx libcurl 7.42.0
• haxx libcurl 7.42.1
• haxx libcurl 7.43.0
… and 19 more
Related
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- http://www.debian.org/security/2017/dsa-3992 www.debian.org
- http://www.securityfocus.com/bid/100286 Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039118 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3558 access.redhat.com
- https://curl.haxx.se/docs/adv_20170809B.html Patch, Vendor Advisory
- https://security.gentoo.org/glsa/201709-14 Patch, Third Party Advisory, VDB Entry
- https://support.apple.com/HT208221 support.apple.com
- http://www.debian.org/security/2017/dsa-3992 www.debian.org
- http://www.securityfocus.com/bid/100286 Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1039118 Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3558 access.redhat.com
- https://curl.haxx.se/docs/adv_20170809B.html Patch, Vendor Advisory
- https://security.gentoo.org/glsa/201709-14 Patch, Third Party Advisory, VDB Entry
- https://support.apple.com/HT208221 support.apple.com