Critical Denial of Service Vulnerability in curl: CVE-2017-8817

curl Updated 02 Oct 2025

Summary

29/11/2017
N/A
Yes i
Critical
9.8

ALPINE-CVE-2017-8817: 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... Affects curl versions < 7.57.0-r0. Fixed in 7.57.0-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

curl is a widely used command-line tool and library for transferring data with URLs. It supports various protocols including HTTP, FTP, and more. curl is integral for developers and system administrators for tasks such as downloading files, making API requests, and automating data transfers. However, it is susceptible to vulnerabilities that can compromise its functionality and security.

Vulnerability Detail

The FTP wildcard function in curl and libcurl versions prior to 7.57.0 is vulnerable to a denial of service attack. This vulnerability allows remote attackers to exploit a string that ends with an '[' character, leading to an out-of-bounds read and potential application crash. The ramifications of this vulnerability can include service interruptions and the possibility of further exploitation, making it critical to address promptly.

How To Fix

Minimum fixed version

7.57.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using FTP wildcard functions in curl until the package can be updated. This can help prevent potential exploitation while a permanent fix is being implemented.

Conclusion

CVE-2017-8817 is a critical vulnerability in curl that poses significant risks, including denial of service. It is essential to update to the patched version to ensure the security and stability of applications using curl. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for curl →

Share this vulnerability

FAQ

CVE-2017-8817 is a vulnerability in curl that allows for denial of service attacks through an out-of-bounds read.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for CVE-2017-8817 is 9.8, indicating a critical severity level.

If an immediate update is not possible, refrain from using FTP wildcard functions in curl as a temporary workaround.

You can find more information about curl vulnerabilities on the official curl website and security advisories.

Related vulnerabilities

Recent vulnerabilities recorded for curl.

How To Fix

Minimum fixed version

7.57.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade curl

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback