Advisory

UBUNTU-CVE-2017-1000100

Also known as: CVE-2017-1000100

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Dates

Published
2017-10-04 00:00 UTC
Modified
2026-04-27 09:08 UTC

Affected packages and fixes

curl

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 7.35.0-1ubuntu2.11 (ecosystem)

Fixed versions

7.35.0-1ubuntu2.11

Fix

  • Fixed version 7.35.0-1ubuntu2.11
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

curl

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 7.47.0-1ubuntu2.3 (ecosystem)

Fixed versions

7.47.0-1ubuntu2.3

Fix

  • Fixed version 7.47.0-1ubuntu2.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences