CVE-2017-9502
Last modified
CVE-2017-9502 is a vulnerability of currently unknown severity. 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://").. EPSS estimates a 3.29% chance of exploitation in the next 30 days.
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://").
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Haxx | Curl | <= 7.54.0 |
References
- http://openwall.com/lists/oss-security/2017/06/14/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/99120Third Party Advisory, VDB Entry
- https://curl.haxx.se/docs/adv_20170614.htmlVendor Advisory
- http://openwall.com/lists/oss-security/2017/06/14/1Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/99120Third Party Advisory, VDB Entry
- https://curl.haxx.se/docs/adv_20170614.htmlVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-9502?
How severe is CVE-2017-9502?
How do I fix CVE-2017-9502?
Are you affected by CVE-2017-9502?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
