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 without a scheme part, had a flaw that could lead to it…
Does this matter?
Lower severity and a low EPSS score (3.29%). Track it; it rarely justifies an emergency change on its own.
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://").
- CVSS 3.0
- 5.3 MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS
- 3.29% probability · 88th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-119
- Affected
- haxx/curl
- Source
- cve@mitre.org
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
- http://www.securitytracker.com/id/1038697
- 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
- http://www.securitytracker.com/id/1038697
- https://curl.haxx.se/docs/adv_20170614.htmlVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.