CVE-2017-9502 In curl before 7.54.1 on Windows and DOS, libcurl's default protocol function, which is the logic that allows an application to set which protocol libcurl should attempt to use when given a URL withou...
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
Description
In curl before 7.54.1 on Windows and DOS, libcurl's default protocol function, which is the logic that allows an application to set which protocol libcurl should attempt to use when given a URL without a scheme part, had a flaw that could lead to it overwriting a heap based memory buffer with seven bytes. If the default protocol is specified to be FILE or a file: URL lacks two slashes, the given "URL" starts with a drive letter, and libcurl is built for Windows or DOS, then libcurl would copy the path 7 bytes off, so that the end of the given path would write beyond the malloc buffer (7 bytes being the length in bytes of the ascii string "file://").
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| haxx curl | <= 7.54.0 | after 7.54.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| haxx curl | <= 7.54.0 | No fix listed |
References
- openwall.com mailing-list third-party-advisory
- 99120 third-party-advisory vdb-entry
- 1038697 vdb-entry
- curl.haxx.se vendor-advisory
- Debian Security Tracker CVE-2017-9502 vendor-advisory