[ASA-201711-34] libcurl-gnutls: information disclosure

ID ASA-201711-34
Type archlinux
Reporter ArchLinux
Modified 2017-11-30T00:00:00


Arch Linux Security Advisory ASA-201711-34

Severity: Medium Date : 2017-11-30 CVE-ID : CVE-2017-8817 Package : libcurl-gnutls Type : information disclosure Remote : Yes Link : https://security.archlinux.org/AVG-525


The package libcurl-gnutls before version 7.57.0-1 is vulnerable to information disclosure.


Upgrade to 7.57.0-1.

pacman -Syu "libcurl-gnutls>=7.57.0-1"

The problem has been fixed upstream in version 7.57.0.




A read out of bounds flaw has been found in the FTP wildcard function of libcurl >= 7.21.0 and < 7.57.0. libcurl's FTP wildcard matching feature, which is enabled with the CURLOPT_WILDCARDMATCH option can use a built-in wildcard function or a user provided one. The built-in wildcard function has a flaw that makes it not detect the end of the pattern string if it ends with an open bracket ([) but instead it will continue reading the heap beyond the end of the URL buffer that holds the wildcard. For applications that use HTTP(S) URLs, allow libcurl to handle redirects and have FTP wildcards enabled, this flaw can be triggered by malicious servers that can redirect clients to a URL using such a wildcard pattern.


A remote attacker is able to crash the application or possibly disclose sensitive information on the affected host.


https://curl.haxx.se/docs/adv_2017-ae72.html https://curl.haxx.se/CVE-2017-8817.patch https://github.com/curl/curl/commit/0b664ba968437715819bfe4c7ada5679d16ebbc3 https://security.archlinux.org/CVE-2017-8817