Out-of-Bounds

Affecting curl package, versions <7.52.1-5+deb9u1

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

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

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    Required
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    None
  • Availability
    None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVE
CVE-2017-1000101
CWE
CWE-119
Snyk ID
SNYK-DEBIAN9-CURL-358341
Disclosed
05 Oct, 2017
Published
05 Oct, 2017