CVE-2017-9502

Description

In curl before 7.54.1 on Windows and DOS, libcurls 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 Information

Base Score
5.3
MODERATE
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Score
Exploitation Probability
0.555

Associated Vulnerability

VulnerabilityOS Platform
Vulnerability CVE-2017-9502 are affected in Curl For Windows 7.54.0Windows
Vulnerabilities CVE-2017-1000100,CVE-2017-1000101,CVE-2017-1000254,CVE-2017-9502 are affected in Curl For Windows 7.54.0Windows
Vulnerabilities CVE-2017-9502 are fixed in Curl For Windows 7.54.1Windows
Improper Restriction of Operations within the Bounds of a Memory Buffer Vulnerability (CVE-2017-9502)NCM

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234