CVE-2017-8817: Critical severity haxx curl vulnerability

Published Nov 21, 2017
·
Updated

libcurl contains a read out of bounds flaw in the FTP wildcard function.

libcurl's FTP wildcard matching feature, which is enabled with the CURLOPTWILDCARDMATCH 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.

- Affected versions: libcurl 7.21.0 to and including 7.56.1 - Not affected versions: libcurl < 7.21.0 and >= 7.57.0

Other sources

The FTP wildcard function in curl and libcurl before 7.57.0 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) or possibly have unspecified other impact via a string that ends with an '[' character.

Affected Software

6 affected componentsFixes available
debian/curl
7.64.0-4+deb10u27.64.0-4+deb10u77.74.0-1.3+deb11u97.74.0-1.3+deb11u107.88.1-10+deb12u37.88.1-10+deb12u48.4.0-2
redhat/curl<7.57.0
7.57.0
haxx curl>=7.21.0<=7.56.1
haxx libcurl>7.21.0<=7.56.1
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Event History

Nov 29, 2017
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
DescriptionWeakness
Data Sourced
via NVD·06:29 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2017-8817?

CVE-2017-8817 is a vulnerability in curl and libcurl before version 7.57.0 that allows remote attackers to cause a denial of service or possibly have unspecified other impact via a string ending with an '[' character.

2

How severe is CVE-2017-8817?

CVE-2017-8817 has a severity rating of 9.8 (Critical).

3

What software is affected by CVE-2017-8817?

The software affected by CVE-2017-8817 includes curl and libcurl versions prior to 7.57.0.

4

How can I fix CVE-2017-8817?

To fix CVE-2017-8817, update curl and libcurl to version 7.57.0 or later.

5

Where can I find more information about CVE-2017-8817?

You can find more information about CVE-2017-8817 in the following references: [bugzilla.redhat.com](https://bugzilla.redhat.com/show_bug.cgi/attachment.cgi?id=1356600&action=diff), [bugzilla.redhat.com](https://bugzilla.redhat.com/show_bug.cgi/attachment.cgi?id=1356600&action=edit), [github.com](https://github.com/curl/curl/commit/0825cd80a62c).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203