CVE-2017-1000254Improper Restriction of Operations within the Bounds of a Memory Buffer in Libcurl

Severity
7.5HIGHNVD
EPSS
1.3%
top 20.11%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedOct 6
Latest updateMay 13

Description

libcurl may read outside of a heap allocated buffer when doing FTP. When libcurl connects to an FTP server and successfully logs in (anonymous or not), it asks the server for the current directory with the `PWD` command. The server then responds with a 257 response containing the path, inside double quotes. The returned path name is then kept by libcurl for subsequent uses. Due to a flaw in the string parser for this directory name, a directory name passed like this but without a closing double

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages2 packages

NVDhaxx/libcurl117 versions+116
Debianhaxx/curl< 7.56.1-1+3

Patches

🔴Vulnerability Details

3
GHSA
GHSA-499v-2pwm-c696: libcurl may read outside of a heap allocated buffer when doing FTP2022-05-13
CVEList
CVE-2017-1000254: libcurl may read outside of a heap allocated buffer when doing FTP2017-10-06
OSV
CVE-2017-1000254: libcurl may read outside of a heap allocated buffer when doing FTP2017-10-06

📋Vendor Advisories

5
Apple
CVE-2017-1000254: macOS High Sierra 10.13.2, Security Update 2017-002 Sierra, and Security Update 2017-005 El Capitan2017-12-06
Ubuntu
curl vulnerabilities2017-10-23
Ubuntu
curl vulnerabilities2017-10-10
Red Hat
curl: FTP PWD response parser out of bounds read2017-10-04
Debian
CVE-2017-1000254: curl - libcurl may read outside of a heap allocated buffer when doing FTP. When libcurl...2017

💬Community

4
Bugzilla
CVE-2017-1000254 mingw-curl: curl: FTP PWD response parser out of bounds read [epel-7]2017-10-04
Bugzilla
CVE-2017-1000254 mingw-curl: curl: FTP PWD response parser out of bounds read [fedora-all]2017-10-04
Bugzilla
CVE-2017-1000254 curl: FTP PWD response parser out of bounds read [fedora-all]2017-10-04
Bugzilla
CVE-2017-1000254 curl: FTP PWD response parser out of bounds read2017-09-26
CVE-2017-1000254 — Haxx Libcurl vulnerability | cvebase