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 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://").
Configurations

Configuration 1 (hide)

cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*

History

21 Nov 2024, 03:36

Type Values Removed Values Added
References () http://openwall.com/lists/oss-security/2017/06/14/1 - Mailing List, Third Party Advisory () http://openwall.com/lists/oss-security/2017/06/14/1 - Mailing List, Third Party Advisory
References () http://www.securityfocus.com/bid/99120 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/99120 - Third Party Advisory, VDB Entry
References () http://www.securitytracker.com/id/1038697 - () http://www.securitytracker.com/id/1038697 -
References () https://curl.haxx.se/docs/adv_20170614.html - Vendor Advisory () https://curl.haxx.se/docs/adv_20170614.html - Vendor Advisory

Information

Published : 2017-06-14 13:29

Updated : 2025-04-20 01:37


NVD link : CVE-2017-9502

Mitre link : CVE-2017-9502

CVE.ORG link : CVE-2017-9502


JSON object : View

Products Affected

haxx

  • curl
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer