CVE-2014-3613
Description
cURL and libcurl prior to 7.38.0 improperly handle IP addresses in cookie domains, allowing cookie leakage between sites.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
cURL and libcurl prior to 7.38.0 improperly handle IP addresses in cookie domains, allowing cookie leakage between sites.
Vulnerability
In cURL and libcurl versions 4.0 through 7.37.1, improper handling of IP addresses in cookie domain names allows an attacker to set or send cookies to arbitrary sites. The issue occurs when a client accesses a site using a numerical IP address, and the site sends cookies with a partial IP address as the domain. libcurl treats the IP address as a domain name, so a site at 192.168.0.1 can set cookies for any ending with .168.0.1, potentially leaking cookies to other IPs like 129.168.0.1 [3].
Exploitation
An attacker needs to control a server accessed via its literal IP address by the victim, and that server must send cookies with a domain attribute containing a partial IP address. No authentication or user interaction beyond normal browsing is required. The vulnerability only applies to IPv4 addresses with dots or IPv6 addresses using dotted-quad notation [3].
Impact
Successful exploitation allows an attacker to force libcurl to send cookies to unintended sites or to set cookies for other sites, leading to information disclosure or session hijacking. The impact is limited to applications that use cookies with libcurl, which is opt-in by default [3].
Mitigation
The vulnerability is fixed in libcurl 7.38.0, released on September 10, 2014 [3]. Users should upgrade to version 7.38.0 or later. Red Hat issued RHSA-2015-1254 for affected RHEL versions [2]. Apple included the fix in OS X Yosemite v10.10.5 and Security Update 2015-006 [1]. No workaround exists except avoiding use of cookies with IP-based URLs.
AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
20cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*+ 8 more
- cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*range: <=7.37.1
- cpe:2.3:a:haxx:curl:7.31.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:curl:7.32.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:curl:7.33.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:curl:7.34.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:curl:7.35.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:curl:7.36.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:curl:7.37.0:*:*:*:*:*:*:*
- (no CPE)range: <7.38.0
cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*+ 8 more
- cpe:2.3:a:haxx:libcurl:*:*:*:*:*:*:*:*range: <=7.37.1
- cpe:2.3:a:haxx:libcurl:7.31.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:libcurl:7.32.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:libcurl:7.33.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:libcurl:7.34.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:libcurl:7.35.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:libcurl:7.36.0:*:*:*:*:*:*:*
- cpe:2.3:a:haxx:libcurl:7.37.0:*:*:*:*:*:*:*
- (no CPE)range: <7.38.0
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
11- curl.haxx.se/docs/adv_20140910A.htmlnvdPatch
- www.debian.org/security/2014/dsa-3022nvdVendor Advisory
- kb.juniper.net/InfoCenter/indexnvd
- lists.apple.com/archives/security-announce/2015/Aug/msg00001.htmlnvd
- lists.opensuse.org/opensuse-security-announce/2014-09/msg00024.htmlnvd
- rhn.redhat.com/errata/RHSA-2015-1254.htmlnvd
- www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.htmlnvd
- www.oracle.com/technetwork/topics/security/cpujul2015-2367936.htmlnvd
- www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.htmlnvd
- www.securityfocus.com/bid/69748nvd
- support.apple.com/kb/HT205031nvd
News mentions
0No linked articles in our index yet.