CVE-2017-1000100
At a glance
- Source
- NVD
- EPSS
- EPSS 3.96 % · percentile 90 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- mitre
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-200 — Exposure of Sensitive Information to an Unauthorized Actor
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | CISA-ADP |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
| CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2017-1404
- GCVE · GCVE-0-2017-1000100
CERT-FR advisories
- CERTFR-2018-AVI-372 — Multiples vulnérabilités dans Google Android · cert.ssi.gouv.fr
- CERTFR-2018-AVI-339 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
- CERTFR-2017-AVI-385 — Multiples vulnérabilités dans les produits Apple · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:haxx:libcurl:7.15.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.15.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.15.2:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.15.3:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.15.4:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.15.5:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.16.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.16.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.16.2:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.16.3:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.16.4:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.17.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.17.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.18.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.18.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.18.2:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.2:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.3:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.4:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.5:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.6:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.19.7:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.20.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.20.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.2:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.3:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.4:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.5:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.6:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.21.7:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.22.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.23.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.23.1:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.24.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.25.0:*:*:*:*:*:*:*cpe:2.3:a:haxx:libcurl:7.26.0:*:*:*:*:*:*:*- +39 more
Affected products
| Product | Versions |
|---|---|
| affected n/a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |