CVE-2017-9502
publishedcurl: URL file scheme drive letter buffer overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curls390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | curlx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devels390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-develx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bits390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl-devel-32bitx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4aarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4ppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4s390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4x86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitaarch64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitppc64le | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bits390x | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libcurl4-32bitx86_64 | Advisory build | 7.79.1-1.1 | OPENSUSE-SU-2024:10582-1 |
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://").
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- http://openwall.com/lists/oss-security/2017/06/14/1
- 99120 http://www.securityfocus.com/bid/99120
- 1038697 http://www.securitytracker.com/id/1038697
- https://curl.haxx.se/docs/adv_20170614.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 696b4699d750924d177fb27945b740b5a5a58c0f45fa008fec63fa3c46f89be8
- Ingested
- 23 Sep 2026, 07:43:06 UTC
- Source record
- Official CVE record