CVE-2017-1000101

NameCVE-2017-1000101
Descriptioncurl 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`.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-3992-1
NVD severitymedium
Debian Bugs871554

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
curl (PTS)stretch7.52.1-5+deb9u10fixed
stretch (security)7.52.1-5+deb9u13fixed
buster7.64.0-4+deb10u1fixed
buster (security)7.64.0-4+deb10u2fixed
bullseye, sid7.74.0-1.2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
curlsourcewheezy(not affected)
curlsourcejessie7.38.0-4+deb8u6DSA-3992-1
curlsourcestretch7.52.1-5+deb9u1DSA-3992-1
curlsource(unstable)7.55.0-1871554

Notes

[wheezy] - curl <not-affected> (Vulnerable code not present, introduced later in 7.34.0)
https://curl.haxx.se/docs/adv_20170809A.html
https://curl.haxx.se/CVE-2017-1000101.patch

Search for package or bug name: Reporting problems