Bug 1478309 (CVE-2017-1000101) - CVE-2017-1000101 curl: URL globbing out of bounds read
Summary: CVE-2017-1000101 curl: URL globbing out of bounds read
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2017-1000101
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1479668 1479669 1479670
Blocks: 1478321
TreeView+ depends on / blocked
 
Reported: 2017-08-04 09:18 UTC by Adam Mariš
Modified: 2021-10-21 11:55 UTC (History)
10 users (show)

Fixed In Version: curl 7.55.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-21 11:55:24 UTC
Embargoed:


Attachments (Terms of Use)
Upstream patch (2.66 KB, patch)
2017-08-04 09:44 UTC, Adam Mariš
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:3558 0 None None None 2018-11-13 08:34:36 UTC

Description Adam Mariš 2017-08-04 09:18:13 UTC
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.

Affected versions: curl 7.34.0 up to and including 7.54.1

This flaw only affects the curl command line tool, not the libcurl library.

Comment 1 Adam Mariš 2017-08-04 09:18:18 UTC
Acknowledgments:

Name: the Curl project
Upstream: Brian Carpenter

Comment 3 Adam Mariš 2017-08-04 09:44:02 UTC
Created attachment 1308972 [details]
Upstream patch

Comment 4 Doran Moppert 2017-08-07 03:44:17 UTC
Statement:

Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 5 Andrej Nemec 2017-08-09 06:21:56 UTC
External References:

https://curl.haxx.se/docs/adv_20170809A.html

Comment 6 Andrej Nemec 2017-08-09 06:31:53 UTC
Created curl tracking bugs for this issue:

Affects: fedora-all [bug 1479670]


Created mingw-curl tracking bugs for this issue:

Affects: epel-7 [bug 1479668]
Affects: fedora-all [bug 1479669]

Comment 7 errata-xmlrpc 2018-11-13 08:34:30 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.4 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS

Via RHSA-2018:3558 https://access.redhat.com/errata/RHSA-2018:3558


Note You need to log in before you can comment on or make changes to this bug.