[arch-security] [ASA-201711-35] libcurl-compat: information disclosure

Levente Polyak anthraxx at archlinux.org
Fri Dec 1 16:40:42 UTC 2017

Arch Linux Security Advisory ASA-201711-35

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


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


Upgrade to 7.57.0-1.

# pacman -Syu "libcurl-compat>=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.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20171201/457d0d7a/attachment.asc>

More information about the arch-security mailing list