[Forgot Password]
Login  Register Subscribe

30389

 
 

423868

 
 

244411

 
 

909

 
 

193363

 
 

277

Paid content will be excluded from the download.


Download | Alert*
OVAL

[3.4] curl: FTP PWD response parser out of bounds read (CVE-2017-1000254)

ID: oval:org.secpod.oval:def:1800495Date: (C)2018-03-30   (M)2023-12-20
Class: PATCHFamily: unix




When libcurl connects to an FTP server and successfully logs in , 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 quote would lead to libcurl not adding a trailing NUL byte to the buffer holding the name. When libcurl would then later access the string, it could read beyond the allocated heap buffer and crash or wrongly access data beyond the buffer, thinking it was part of the path. Affected versions: libcurl 7.7 to and including 7.55.1 Not affected versions: libcurl = 7.56.0

Platform:
Alpine Linux 3.4
Product:
curl
Reference:
7964
CVE-2017-1000254
CVE    1
CVE-2017-1000254
CPE    2
cpe:/a:haxx:curl
cpe:/o:alpinelinux:alpine_linux:3.4

© SecPod Technologies