CVE-2017-9502
Summary
| CVE | CVE-2017-9502 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2017-06-14 13:29:00 UTC |
| Updated | 2017-07-08 01:29:00 UTC |
| 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://"). |
Risk And Classification
Problem Types: CWE-119
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| oss-security - [SECURITY ADVISORY] curl: URL file scheme drive letter buffer overflow | CONFIRM | openwall.com | Mailing List, Third Party Advisory |
| cURL/libcURL 'b/lib/url.c' Heap Based Buffer Overflow Vulnerability | BID | www.securityfocus.com | Third Party Advisory, VDB Entry |
| libcurl 'file' Protocol Buffer Overflow Lets Local Users Execute Arbitrary Code - SecurityTracker | SECTRACK | www.securitytracker.com | |
| curl - default protocol drive letter buffer overflow | CONFIRM | curl.haxx.se | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.