cbcvebase.
CVE-2015-3145
published 2015-04-24

CVE-2015-3145: The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a…

PriorityP348high7.5CVSS 2.0
AVNACLAuNCPIPAP
EPSS
37.63%
98.4th percentile
The sanitize_cookie_path function in cURL and libcurl 7.31.0 through 7.41.0 does not properly calculate an index, which allows remote attackers to cause a denial of service (out-of-bounds write and crash) or possibly have other unspecified impact via a cookie path containing only a double-quote character.

Affected

48 ranges· showing 25
VendorProductVersion rangeFixed in
applemac_os_x
applemac_os_x
applemac_os_x
applemac_os_x
applemac_os_x
appleos_x_yosemite_v10.10.5_and_security_update_2015-006
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
canonicalubuntu_linux
debiancurl< curl 7.42.0-1 (bookworm)curl 7.42.0-1 (bookworm)
debiandebian_linux
fedoraprojectfedora
fedoraprojectfedora
haxxcurl
haxxcurl
haxxcurl
haxxcurl
haxxcurl
haxxcurl
haxxcurl
haxxcurl
haxxcurl
haxxcurl
haxxcurl

Detection & IOCsextracted from sources · hover to see the quote

cookiecookie path containing only a double-quote character
  • The vulnerability is triggered by a malicious HTTP server sending a Set-Cookie header with a path element consisting solely of a double-quote character, causing an out-of-bounds write in sanitize_cookie_path.
  • Monitor for specially crafted Set-Cookie response headers where the 'path' attribute value is a bare double-quote character ("), which triggers the vulnerable code path in libcurl 7.31.0–7.41.0.
  • Affected versions are cURL/libcurl 7.31.0 through 7.41.0; presence of these versions processing untrusted cookies should be flagged.
  • ·Red Hat Enterprise Linux 5, 6, and 7 ship a version of curl that is NOT affected by this vulnerability.
  • ·On Ubuntu, this issue only affected Ubuntu 14.04 LTS, Ubuntu 14.10, and Ubuntu 15.04; earlier/later releases are not impacted.

CVSS provenance

nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu5.0MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.