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, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-3992-1
NVD severitymedium (attack range: remote)
Debian Bugs871554

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
curl (PTS)wheezy7.26.0-1+wheezy13fixed
wheezy (security)7.26.0-1+wheezy22fixed
jessie7.38.0-4+deb8u5vulnerable
jessie (security)7.38.0-4+deb8u7fixed
stretch7.52.1-5vulnerable
stretch (security)7.52.1-5+deb9u2fixed
buster, sid7.56.1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
curlsource(unstable)7.55.0-1medium871554
curlsourcejessie7.38.0-4+deb8u6mediumDSA-3992-1
curlsourcestretch7.52.1-5+deb9u1mediumDSA-3992-1
curlsourcewheezy(not affected)

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