CVE-2015-3144

The fix_hostname function in cURL and libcurl 7.37.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of…

published April 24, 2015

CVSS
—
EPSS
11%
Percentile
95.7
In the wild
Unconfirmed
What it is

⚠️ An empty hostname can crash your server! The cURL library’s fix_hostname function mishandles zero-length hostnames, which could lead to a denial of service. 🚨 Think of this like a restaurant that gets confused by an empty reservation — they just don’t know how to handle it and end up messing up the entire evening for everyone. Just like that reservation, an empty hostname here can cause significant problems for your server's operation. An attacker could exploit this vulnerability by sending requests with zero-length hostnames, potentially causing an out-of-bounds read or write. This could lead to a crash, making your server unavailable and disrupting services for your users. While it's not currently exploited in the wild, it’s definitely something to keep an eye on!

Put simply

Think of this like a restaurant that gets confused by an empty reservation — they just don’t know how to handle it and end up messing up the entire evening for everyone. Just like that reservation, an empty hostname here can cause significant problems for your server's operation. The vulnerability is in the fix_hostname function of cURL and libcurl versions 7.37.0 through 7.41.0, where improper index calculations can occur due to a malformed hostname, allowing for denial of service via out-of-bounds operations.

What to do

An attacker could exploit this vulnerability by sending requests with zero-length hostnames, potentially causing an out-of-bounds read or write. This could lead to a crash, making your server unavailable and disrupting services for your users. While it's not currently exploited in the wild, it’s definitely something to keep an eye on! To mitigate this, ensure you upgrade to a version of cURL or libcurl that is above 7.41.0. It's also a good practice to sanitize inputs properly to avoid sending zero-length hostnames whenever possible. Stay updated on security patches! You can handle this! By updating and keeping your libraries in check, you’ll keep things running smoothly. 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.10533 · 95.7th percentile
Published
2015-04-24T14:00Z
EPSS history
Timeline
  • 24 APR 14:00Z
    The fix_hostname function in cURL and libcurl 7.37.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of…
    cvelistv5