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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-9496The Comcast firmware on Motorola MX011ANM (firmware version …
- CVE-2017-9497The Comcast firmware on Motorola MX011ANM (firmware version …
- CVE-2017-9498The Comcast firmware on Motorola MX011ANM (firmware version …
- CVE-2017-9499In ImageMagick 7.0.5-7 Q16, an assertion failure was found i…
- CVE-2017-9500In ImageMagick 7.0.5-8 Q16, an assertion failure was found i…
- CVE-2017-9501In ImageMagick 7.0.5-7 Q16, an assertion failure was found i…
- CVE-2017-9503QEMU (aka Quick Emulator), when built with MegaRAID SAS 8708…5.5
- CVE-2017-9504Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2017-9505Atlassian Confluence starting with 4.3.0 before 6.2.1 did no…4.3
- CVE-2017-9506The IconUriServlet of the Atlassian OAuth Plugin from versio…
- CVE-2017-9507The review dashboard resource in Atlassian Crucible from ver…
- CVE-2017-9508Various resources in Atlassian Fisheye and Crucible before v…
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
