CVE-2015-3144
highpriority · track · 40EPSS 0.105 · 96 %ileDEEUUSEPSS · scored 2026-10-27
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 service (out-of-bounds read or write and crash) or possibly have other unspecified impact via a zero-length host name, as demonstrated by "http://:80" and ":80."
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (36)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1483Oracle MySQL: Mehrere Schwachstellen gefährden die Integrität, Vertraulichkeit und VerfügbarkeitDeutsch2015-10-20csaf · cert_bundDE
Ein entfernter, authentisierter, entfernter, anonymer oder lokaler Angreifer kann mehrere Schwachstellen in Oracle MySQL ausnutzen, um dadurch die Integrität, Vertraulichkeit und Verfügbarkeit zu gefährden.
- CURL-CVE-2015-3144hostname out of boundary memory access2015-04-22vendor · osvUS
There is a private function in libcurl called `fix_hostname()` that removes a trailing dot from the hostname if there is one. The function is called after the hostname has been extracted from the URL libcurl has been told to act on. If a URL is given with a zero-length hostname, like in "http://:80" or ":80", `fix_hostname()` indexes the hostname pointer with a -1 offset (as it blindly assumes a non-zero length) and both read and assign that address. At best, this gets unnoticed but can also lead to a crash or worse. We have not researched further what kind of malicious actions that potentially this could be used for.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (39)
External citations — patches, advisories, analysis.
- http://curl.haxx.se/docs/adv_20150422B.htmlPatchcnnvd
- http://curl.haxx.se/docs/adv_20150422D.htmlcnnvd
- http://secunia.com/advisories/64164cnnvd
- http://secunia.com/advisories/64284cnnvd
- http://www.debian.org/security/2015/dsa-3232cnnvd
- http://curl.haxx.se/docs/adv_20150422D.htmlenisa_euvd
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10743enisa_euvd
- http://lists.apple.com/archives/security-announce/2015/Aug/msg00001.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan