VDB

CVE-2017-1000100

CVE-2017-1000100 PUBLISHED CVSS 6.5 MEDIUM

Reported by mitre · Published October 4, 2017

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
lib32-libcurl-gnutlsArch Linux7.56.0-1
libcurl-compatArch Linux7.56.0-1
libcurl-gnutlsArch Linux7.56.0-1
lib32-curlArch Linux7.56.0-1
curlArch Linux7.55-1
curlAlpine7.55.0-r0
curlUbuntu:16.04:LTS7.47.0-1ubuntu2.3

Risk scores

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
n/an/an/a
archlib32-libcurl-gnutls0
archlibcurl-compat0
archlibcurl-gnutls0
archlib32-curl0
archcurl0
alpinecurl0
n/an/a*
archlib32-libcurl-compat0

Timeline

  • Oct 4, 2017 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 5, 2026 Distribution Patch (6 in total, the first dated here)
  • Mar 5, 2026 Security Advisory (6 in total, the first dated here)
  • Oct 5, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2017-1000100
vulnetix vdb fixes CVE-2017-1000100

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-1000100/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_CONFIRM
  • 100286 vdb-entryx_refsource_BID
  • RHSA-2018:3558 vendor-advisoryx_refsource_REDHAT
  • GLSA-201709-14 vendor-advisoryx_refsource_GENTOO
  • 1039118 vdb-entryx_refsource_SECTRACK
  • x_refsource_CONFIRM
  • DSA-3992 vendor-advisoryx_refsource_DEBIAN
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›