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...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTScurl |
< 7.35.0-1ubuntu2.11→ 7.35.0-1ubuntu2.11 |
7.35.0-1ubuntu2.11 |
| Ubuntu:16.04:LTScurl |
< 7.47.0-1ubuntu2.3→ 7.47.0-1ubuntu2.3 |
7.47.0-1ubuntu2.3 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- report ubuntu.com
- report curl.haxx.se
- report cve.org