CVE-2018-1000005

Source
Severity Medium
Remote Yes
Type Denial of service
Description
libcurl contains an out bounds read in code handling HTTP/2 trailers. It was reported that reading an HTTP/2 trailer could mess up future trailers since the stored size was one byte less than required. The problem is that the code that creates HTTP/1-like headers from the HTTP/2 trailer data once appended a string like `":"` to the target buffer, while this was recently changed to `": "` (a space was added after the colon) but the associated math wasn't updated correspondingly. When accessed, the data is read out of bounds and causes either a crash or that the (too large) data gets passed to the libcurl callback. This might lead to a denial-of-service situation or an information disclosure if someone has a service that echoes back or uses the trailers for something.
Group Package Affected Fixed Severity Status Ticket
AVG-598 lib32-libcurl-compat 7.57.0-1 7.58.0-1 Medium Fixed
AVG-597 lib32-libcurl-gnutls 7.57.0-1 7.58.0-1 Medium Fixed
AVG-596 libcurl-gnutls 7.57.0-1 7.58.0-1 Medium Fixed
AVG-595 libcurl-compat 7.57.0-1 7.58.0-1 Medium Fixed
AVG-594 lib32-curl 7.57.0-1 7.58.0-1 Medium Fixed
AVG-593 curl 7.57.0-1 7.58.0-1 Medium Fixed
Date Advisory Group Package Severity Description
29 Jan 2018 ASA-201801-26 AVG-598 lib32-libcurl-compat Medium multiple issues
29 Jan 2018 ASA-201801-25 AVG-597 lib32-libcurl-gnutls Medium multiple issues
29 Jan 2018 ASA-201801-24 AVG-596 libcurl-gnutls Medium multiple issues
29 Jan 2018 ASA-201801-23 AVG-595 libcurl-compat Medium multiple issues
29 Jan 2018 ASA-201801-22 AVG-594 lib32-curl Medium multiple issues
28 Jan 2018 ASA-201801-20 AVG-593 curl Medium multiple issues
References
https://curl.haxx.se/docs/adv_2018-824a.html
https://github.com/curl/curl/commit/fa3dbb9a147488a2943bda809c66fc497efe06cb