Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-46218 EUVD-2023-50460GHSA-59mm-6rr4-j9p2

This flaw allows a malicious HTTP server to set "super cookies" in curl that are then passed back to more origins than what is otherwise al…

Published Dec 7, 2023 · Updated Oct 15, 2026 · Assigned by hackerone

Description

This flaw allows a malicious HTTP server to set "super cookies" in curl that
are then passed back to more origins than what is otherwise allowed or
possible. This allows a site to set cookies that then would get sent to
different and unrelated sites and domains.

It could do this by exploiting a mixed case flaw in curl's function that
verifies a given cookie domain against the Public Suffix List (PSL). For
example a cookie could be set with `domain=co.UK` when the URL used a lower
case hostname `curl.co.uk`, even though `co.uk` is listed as a PSL domain.

Affected products

VendorProductAffectedFixed
curl curl 8.4.0 – ≤ 8.4.0 —

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.

ReleasePackageFixed inAdvisory
Debian 14 curl 8.5.0-1 —
Debian 13 curl 8.5.0-1 —
Debian 12 curl 7.88.1-10+deb12u5 DSA-5587-1
Debian 11 curl 7.74.0-1.3+deb11u11 DSA-5587-1
Debian 10 curl 7.64.0-4+deb10u8 DLA-3692-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.15 USN-6535-1
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.21 USN-6535-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS curl 7.58.0-2ubuntu3.24+esm3 USN-6641-1
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm11 USN-6641-1
ReleasePackageFixed inAdvisory
RHEL 9 curl +4 7.76.1-26.el9_3.3 RHSA-2024:1129
RHEL 8 curl +3 7.61.1-33.el8_9.5 RHSA-2024:1601
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.2 EUS curl +4 7.76.1-23.el9_2.6 RHSA-2024:0452
RHEL 9.0 EUS curl +4 7.76.1-14.el9_0.11 RHSA-2024:0434
RHEL 8.8 EUS curl +3 7.61.1-30.el8_8.9 RHSA-2024:0585
RHEL 8.6 EUS curl +3 7.61.1-22.el8_6.12 RHSA-2024:0428
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 8.6.0-3.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.57-9.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_proxy_cluster 1.3.20-3.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.57-9.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.1.1k-17.el7jbcs RHSA-2024:1316

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 curl +4 7.76.1-26.el9_3.3 ALSA-2024:1129
AlmaLinux 8 curl +3 7.61.1-33.el8_9.5 ALSA-2024:1601

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 curl 7.61.1-33.el8_9.5 RLSA-2024:1601
ReleasePackageFixed inAdvisory
SLES 15 SP5 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
SLES 15 SP4 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
SLES 15 SP1 curl 7.60.0-150000.56.1 SUSE-SU-2023:4650-1
SLES 12 SP5 curl 8.0.1-11.80.1 SUSE-SU-2023:4653-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 curl 7.60.0-150000.56.1 SUSE-SU-2023:4650-1
SLES for SAP 12 SP5 curl 8.0.1-11.80.1 SUSE-SU-2023:4653-1
SLE Micro 5.5 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
SLE Micro 5.4 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
SLE Micro 5.3 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
SLE Micro 5.2 curl 7.66.0-150200.4.63.1 SUSE-SU-2023:4713-1
SLE Micro 5.1 curl 7.66.0-150200.4.63.1 SUSE-SU-2023:4713-1
SLE HPC 15 SP1 curl 7.60.0-150000.56.1 SUSE-SU-2023:4650-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.5.0-1.1 openSUSE-SU-2024:13509-1
openSUSE Leap 15.5 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
openSUSE Leap 15.4 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
openSUSE Leap Micro 5.3 curl 8.0.1-150400.5.36.1 SUSE-SU-2023:4659-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.5.0-r0 —
Alpine v3.23 curl 8.5.0-r0 —
Alpine v3.22 curl 8.5.0-r0 —
Alpine v3.21 curl 8.5.0-r0 —
Alpine v3.20 curl 8.5.0-r0 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 8.5.0-r0 —
Alpine v3.18 curl 8.5.0-r0 —
Alpine v3.17 curl 8.5.0-r0 —
Alpine v3.16 curl 8.5.0-r0 —
Alpine v3.15 curl 8.5.0-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 8.5.0-1.amzn2023.0.2 ALAS2023-2024-606
Amazon Linux 2 curl +2 8.3.0-1.amzn2.0.6 ALAS2-2024-2531

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.29.6-1 —
Azure Linux 3 mysql 8.0.40-1 —
Azure Linux 2 (CBL-Mariner) cmake 3.21.4-13 —
Azure Linux 2 (CBL-Mariner) curl 8.5.0-1 —
Azure Linux 2 (CBL-Mariner) mysql 8.0.35-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 curl +4 7.76.1-26.el9_3.3 ELSA-2024-1129
Oracle Linux 8 curl +3 7.61.1-33.el8_9.5 ELSA-2024-1601

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling curl 8.5.0-r0 —

Advisories 45

References