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

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

Resolution
=========
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.

Workaround
=========
None.

Description
==========
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.

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

References
=========
https://curl.se/docs/CVE-2017-8817.html
https://github.com/curl/curl/commit/0b664ba968437715819bfe4c7ada5679d16ebbc3
https://security.archlinux.org/CVE-2017-8817

ArchLinux: 201711-34: libcurl-gnutls: information disclosure

December 1, 2017

Summary

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.

Resolution

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.

References

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

Severity
Package : libcurl-gnutls
Type : information disclosure
Remote : Yes
Link : https://security.archlinux.org/AVG-525

Workaround

None.

Related News