Back to CVE catalog
CVE-2017-1000100

Buffer over-read in curl during TFTP transfer

Multiple products

At a glance

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 description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityNone
AvailabilityNone

CVSS summary v3.1

6.5Medium
Published:
Updated:
EPSS:
3.958%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Red Hat.NET Core 1.0 on Red Hat Enterprise LinuxAffected versions:Source does not specify a version range
Vendor:Red Hat.NET Core 1.1 on Red Hat Enterprise LinuxAffected versions:Source does not specify a version range
Vendor:Red Hat.NET Core 2.0 on Red Hat Enterprise LinuxAffected versions:Source does not specify a version range
Vendor:Red Hat.NET Core 2.1 on Red Hat Enterprise LinuxAffected versions:Source does not specify a version range
Vendor:Red HatRed Hat Ceph Storage 2Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 5Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 6Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Linux 7Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat Enterprise Virtualization 3Affected versions:Source does not specify a version range
Vendor:Red HatRed Hat JBoss Enterprise Web Server 3Affected versions:Source does not specify a version range

1–10 of 47 · Page 1 of 5

CVSS scores and metrics6
CISA-ADP · CVE List / CNA (adp)Primary6.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
134c704f-9b21-4f2e-91b3-4a467353bcc0 · NVD (Secondary)6.5 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
[email protected] · NVD (Primary)6.5 / 10MediumCVSS 3.0Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
None
Attack vector
Network
Privileges required
Not required
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Red Hat · Red Hat VEX (adp)4.8 / 10MediumCVSS 3.0Details
Attack complexity
High
Confidentiality
Low
Integrity
None
Availability
Low
Attack vector
Network
Privileges required
Not required
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:L
SUSE · SUSE VEX (adp)3.3 / 10LowCVSS 3.0Details
Attack complexity
Low
Confidentiality
Low
Integrity
None
Availability
None
Attack vector
Local
Privileges required
Low
User interaction
Not required
Scope
Unchanged

Source vector

CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
[email protected] · NVD (Primary)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
Partial
Integrity
None
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories13

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences