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…

Critical · published November 29, 2017

CVSS v3.1
9.8
EPSS
11%
Percentile
95.9
In the wild
Unconfirmed
What it is

🔥 Who would have thought that a lonely '[' character could lead to a catastrophic app crash? That's exactly what the FTP wildcard function in curl and libcurl can do before version 7.57.0! ⚡ Think of it as a pizza delivery that can't find your address because the last digit of your house number vanished — it leads to confusion and a complete stop in service. In this case, the app can't process the request and crashes instead, leaving users in the lurch. An attacker can exploit this, causing the application to crash with an out-of-bounds read. This can lead to denial of service, making the application unavailable to legitimate users, and perhaps even leaving the door open for further attacks. It's a big deal!

Put simply

Think of it as a pizza delivery that can't find your address because the last digit of your house number vanished — it leads to confusion and a complete stop in service. In this case, the app can't process the request and crashes instead, leaving users in the lurch. The vulnerability arises from how curl and libcurl handle FTP wildcard functions. If a string ends with a '[', it can trigger an out-of-bounds read, causing instability and crashes.

What to do

An attacker can exploit this, causing the application to crash with an out-of-bounds read. This can lead to denial of service, making the application unavailable to legitimate users, and perhaps even leaving the door open for further attacks. It's a big deal! To safeguard against this vulnerability, upgrade curl and libcurl to version 7.57.0 or later immediately. Regularly audit your dependencies to ensure you’re not using outdated libraries. Don’t forget to test the updated version to ensure everything runs smoothly! You’ve got this! By taking these steps, you'll be a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.11175 · 95.9th percentile
Published
2017-11-29T18:00Z
EPSS history
Timeline
  • 29 NOV 18:00Z
    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…
    cvelistv5