CVE-2017-1000100

medium
Published 2017-10-05 ยท Modified 2026-05-13
CVSS v3
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
6.5

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.

Predictions

Exploit likelihood
75%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 7.56.0-1
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 7.55.0-1
sid Fixed 7.55.0-1
forky Fixed 7.55.0-1
bullseye Fixed 7.55.0-1
bookworm Fixed 7.55.0-1

Application impact

VendorProductVersionsFixed
haxxlibcurl7.15.0
haxxlibcurl7.15.1
haxxlibcurl7.15.2
haxxlibcurl7.15.3
haxxlibcurl7.15.4
haxxlibcurl7.15.5
haxxlibcurl7.16.0
haxxlibcurl7.16.1
haxxlibcurl7.16.2
haxxlibcurl7.16.3
haxxlibcurl7.16.4
haxxlibcurl7.17.0
haxxlibcurl7.17.1
haxxlibcurl7.18.0
haxxlibcurl7.18.1
haxxlibcurl7.18.2
haxxlibcurl7.19.0
haxxlibcurl7.19.1
haxxlibcurl7.19.2
haxxlibcurl7.19.3
haxxlibcurl7.19.4
haxxlibcurl7.19.5
haxxlibcurl7.19.6
haxxlibcurl7.19.7
haxxlibcurl7.20.0
haxxlibcurl7.20.1
haxxlibcurl7.21.0
haxxlibcurl7.21.1
haxxlibcurl7.21.2
haxxlibcurl7.21.3
haxxlibcurl7.21.4
haxxlibcurl7.21.5
haxxlibcurl7.21.6
haxxlibcurl7.21.7
haxxlibcurl7.22.0
haxxlibcurl7.23.0
haxxlibcurl7.23.1
haxxlibcurl7.24.0
haxxlibcurl7.25.0
haxxlibcurl7.26.0
haxxlibcurl7.27.0
haxxlibcurl7.28.0
haxxlibcurl7.28.1
haxxlibcurl7.29.0
haxxlibcurl7.30.0
haxxlibcurl7.31.0
haxxlibcurl7.32.0
haxxlibcurl7.33.0
haxxlibcurl7.34.0
haxxlibcurl7.35.0
haxxlibcurl7.36.0
haxxlibcurl7.37.0
haxxlibcurl7.37.1
haxxlibcurl7.38.0
haxxlibcurl7.39
haxxlibcurl7.40.0
haxxlibcurl7.41.0
haxxlibcurl7.42.0
haxxlibcurl7.42.1
haxxlibcurl7.43.0
haxxlibcurl7.44.0
haxxlibcurl7.45.0
haxxlibcurl7.46.0
haxxlibcurl7.47.0
haxxlibcurl7.47.1
haxxlibcurl7.48.0
haxxlibcurl7.49.0
haxxlibcurl7.49.1
haxxlibcurl7.50.0
haxxlibcurl7.50.1
haxxlibcurl7.50.2
haxxlibcurl7.50.3
haxxlibcurl7.51.0
haxxlibcurl7.52.0
haxxlibcurl7.52.1
haxxlibcurl7.53.0
haxxlibcurl7.53.1
haxxlibcurl7.54.0
haxxlibcurl7.54.1

References

CWEs

CWE-200

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.