You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CVE-2018-1000301:
Since it seems that this file /external/curl/http.c is reused with a lot of modifications for customized features, we suggest to apply the following patch:
After the code struct SingleRequest *k = &data->req; at line 2963, insert the following two lines:
ssize_t onread = *nread;
char *ostr = k->str;
Replace the code *nread = (ssize_t)rest_length; at line 3028 with the following three lines:
*nread = onread;
k->str = ostr;
return CURLE_OK;
The text was updated successfully, but these errors were encountered:
Contact me:
[email protected]
CVEs and affected files:
CVE-2018-1000120 in the file /external/curl/ftp.c
CVE-2018-1000122 in the file /external/curl/transfer.c
CVE-2018-1000301 in the file /external/curl/http.c
References:
Patch suggestions:
CVE-2018-1000120 & CVE-2018-1000122:
Since it seems that the two reused files are from the older version of curl, it is recommended to update the two files to the latest version or just apply the above commits for CVE-2018-1000120 & CVE-2018-1000122.
CVE-2018-1000301:
Since it seems that this file
/external/curl/http.c
is reused with a lot of modifications for customized features, we suggest to apply the following patch:struct SingleRequest *k = &data->req;
at line 2963, insert the following two lines:*nread = (ssize_t)rest_length;
at line 3028 with the following three lines:The text was updated successfully, but these errors were encountered: