Description
cURL and libcurl before 7.38.0 does not properly handle IP addresses in cookie domain names, which allows remote attackers to set cookies for or send arbitrary cookies to certain sites, as demonstrated by a site at 192.168.0.1 setting cookies for a site at 127.168.0.1.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | 7.38.0-1 | — |
| Debian 13 | curl | 7.38.0-1 | — |
| Debian 12 | curl | 7.38.0-1 | — |
| Debian 7 | curl | 7.26.0-1+wheezy10 | DSA-3022-1 |
| Debian 6.0 | curl | 7.21.0-2.1+squeeze9 | DLA-64-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | curl | 7.35.0-1ubuntu2.1 | USN-2346-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | curl +2 | 7.29.0-25.el7 | RHSA-2015:2159 |
| RHEL 6 | curl +2 | 7.19.7-46.el6 | RHSA-2015:1254 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 7.51.0-1.1 | openSUSE-SU-2024:10303-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | curl +2 | 7.29.0-25.0.1.el7 | ELSA-2015-2159 |
Advisories 8
- RHSA-2015:2159 Red Hat Security Advisory: curl security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- RHSA-2015:1254 Red Hat Security Advisory: curl security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 28, 2026
- USN-2346-1 curl vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-64-1 curl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3022-1 curl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10303-1 curl-7.51.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-1653 cURL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 4, 2023
- ELSA-2015-2159 Moderate: curl security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 23, 2015
References
- http://www.oracle.com/technetwork/topics/security/cpujul2015-2367936.html
- http://curl.haxx.se/docs/adv_20140910A.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- APPLE-SA-2015-08-13-2 vendor-advisory
- RHSA-2015:1254 vendor-advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10743
- openSUSE-SU-2014:1139 vendor-advisory
- 69748 vdb-entry
- https://support.apple.com/kb/HT205031
- DSA-3022 vendor-advisory