CVE-2017-1000100
curl: TFTP sends more than buffer size
Overview
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness: CWE-200
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 21 fixes
Red Hat 1 release · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | curl +5 | wont fix | — |
| 7 | httpd24-libnghttp2 +2 | 0:1.7.1-7.el7 | RHSA-2018:3558 |
| 7 | httpd24-httpd +6 | 0:2.4.34-7.el7 | RHSA-2018:3558 |
| 7 | httpd24-curl +2 | 0:7.61.1-1.el7 | RHSA-2018:3558 |
| 7 | httpd24-mod-proxy-html +1 | 1:2.4.34-7.el7 | RHSA-2018:3558 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | curl | 7.55.0-r0 |
| 3.23 | curl | 7.55.0-r0 |
| 3.24 | curl | 7.55.0-r0 |
| edge | curl | 7.55.0-r0 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | curl | 7.55.0-1 |
| 12 | curl | 7.55.0-1 |
| 13 | curl | 7.55.0-1 |
| 14 | curl | 7.55.0-1 |
| 9 | curl | 7.52.1-5+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| curl | 7.55.0-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | curl +4 | 7.79.1-1.1 | openSUSE-SU-2024:10582-1 |
root.io alpine 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | rootio-curl | 7.55.0-r0 |
| 3.23 | rootio-curl | 7.55.0-r0 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-curl | 7.55.0-1 |
| 12 | rootio-curl | 7.55.0-1 |
| 13 | rootio-curl | 7.55.0-1 |
References
- www.debian.org http://www.debian.org/security/2017/dsa-3992
- www.securityfocus.com http://www.securityfocus.com/bid/100286
- www.securitytracker.com http://www.securitytracker.com/id/1039118
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3558
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-1000100
- curl.haxx.se https://curl.haxx.se/docs/adv_20170809B.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-1000100
- security.gentoo.org https://security.gentoo.org/glsa/201709-14
- support.apple.com https://support.apple.com/HT208221
- ubuntu.com https://ubuntu.com/security/notices/USN-3441-1
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.