CVE-2017-1000101

MEDIUM

curl - Heap-Based Buffer Overflow via URL Globbing Range Parsing

Title source: llm
STIX 2.1

Description

curl supports "globbing" of URLs, in which a user can pass a numerical range to have the tool iterate over those numbers to do a sequence of transfers. In the globbing function that parses the numerical range, there was an omission that made curl read a byte beyond the end of the URL if given a carefully crafted, or just wrongly written, URL. The URL is stored in a heap based buffer, so it could then be made to wrongly read something else instead of crashing. An example of a URL that triggers the flaw would be `http://ur%20[0-60000000000000000000`.

References (7)

Core 7
Core References
Vendor Advisory x_refsource_confirm
https://support.apple.com/HT208221
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3558
Issue Tracking, Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201709-14
Issue Tracking, Vendor Advisory x_refsource_confirm
https://curl.haxx.se/docs/adv_20170809A.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1039117
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/100249
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2017/dsa-3992

Scores

CVSS v3 6.5
EPSS 0.0066
EPSS Percentile 71.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-119
Status published
Products (32)
haxx/curl 7.4.1
haxx/curl 7.35.0
haxx/curl 7.36.0
haxx/curl 7.37.0
haxx/curl 7.37.1
haxx/curl 7.38.0
haxx/curl 7.39.0
haxx/curl 7.40.0
haxx/curl 7.41.0
haxx/curl 7.42.0
... and 22 more
Published Oct 05, 2017
Tracked Since Feb 18, 2026