cve.bz

CVE-2023-46218 Improper Handling of Case Sensitivity

6.5 mediumExploit referenceEPSS 1.8%Fix available

Medium (6.5). EPSS 1.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
EPSS
1.8% (unchanged from 1.7% a week ago; 1.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 79th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-05-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-178 Improper Handling of Case Sensitivity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-46218 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-46218?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-46218?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-46218 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
curlfrom 8.4.0 through 8.4.0

Fixed in

ProductFixed in
curl7.46.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10curl7.64.0-4+deb10u8DLA-3692-1
Debian11curl7.74.0-1.3+deb11u11DSA-5587-1
Debian12curl7.88.1-10+deb12u5DEBIAN-CVE-2023-46218 DSA-5587-1
Debian13, 14curl8.5.0-1DEBIAN-CVE-2023-46218
Ubuntu20.04:LTScurl7.68.0-1ubuntu2.21UBUNTU-CVE-2023-46218 USN-6535-1
Ubuntu22.04:LTScurl7.81.0-1ubuntu1.15UBUNTU-CVE-2023-46218 USN-6535-1
UbuntuPro:16.04:LTScurl7.47.0-1ubuntu2.19+esm11UBUNTU-CVE-2023-46218 USN-6641-1
UbuntuPro:18.04:LTScurl7.58.0-2ubuntu3.24+esm3UBUNTU-CVE-2023-46218 USN-6641-1
Red Hatenterprise_linux:8::baseoscurl, libcurl, libcurl-devel and 6 more0:7.61.1-33.el8_9.5RHSA-2024:1601
Red Hatenterprise_linux:9::appstreamlibcurl-devel, curl-debuginfo, curl-debugsource and 3 more0:7.76.1-26.el9_3.3RHSA-2024:1129
Red Hatenterprise_linux:9::baseoscurl, libcurl, curl-minimal and 6 more0:7.76.1-26.el9_3.3RHSA-2024:1129
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.6.0-3.el7jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.57-9.el7jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_proxy_cluster, jbcs-httpd24-mod_proxy_cluster-debuginfo0:1.3.20-3.el7jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.57-9.el7jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1k-17.el7jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:8.6.0-3.el8jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el8jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 8 more0:2.4.57-9.el8jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_proxy_cluster, jbcs-httpd24-mod_proxy_cluster-debuginfo0:1.3.20-3.el8jbcsRHSA-2024:1316
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html, jbcs-httpd24-mod_ssl-debuginfo and 1 more1:2.4.57-9.el8jbcsRHSA-2024:1316
7 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1curl7.60.0-150000.56.1SUSE-SU-2023:4650-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2curl7.66.0-150200.4.63.1SUSE-SU-2023:4713-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 and 2 morecurl8.0.1-150400.5.36.1SUSE-SU-2023:4659-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5curl8.0.1-11.80.1SUSE-SU-2023:4653-1
openSUSELeap 15.4, Leap 15.5, Leap Micro 5.3 and 1 morecurl8.0.1-150400.5.36.1SUSE-SU-2023:4659-1
openSUSETumbleweedcurl8.5.0-1.1openSUSE-SU-2024:13509-1
AlmaLinux8curl, libcurl, libcurl-devel and 1 more7.61.1-33.el8_9.5ALSA-2024:1601
AlmaLinux9curl, libcurl, curl-minimal and 2 more7.76.1-26.el9_3.3ALSA-2024:1129
Rocky Linux8curl0:7.61.1-33.el8_9.5RLSA-2024:1601
Alpinev3.15, v3.16, v3.17 and 7 morecurl8.5.0-r0ALPINE-CVE-2023-46218
Azure Linux2cmake3.21.4-13AZL-32119
Azure Linux2curl8.5.0-1AZL-32099
Azure Linux2mysql8.0.35-2AZL-32126
Azure Linux3cmake3.29.6-1AZL-34618
Azure Linux3mysql8.0.40-1AZL-35019
Alpaquita23, streamcurl8.5.0-r0BELL-CVE-2023-46218
BellSoft Hardened Containersstreamcurl8.5.0-r0BELL-CVE-2023-46218

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

When curl is built without PSL support, it cannot protect against this problem but it is expected to not allow "too wide" cookies when PSL support is enabled.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-curl-0:8.6.0-3.el8jbcsFixed 2024-03-18RHSA-2024:1316
JBoss Core Services on RHEL 7jbcs-httpd24-curl-0:8.6.0-3.el7jbcsFixed 2024-03-18RHSA-2024:1316
Red Hat Enterprise Linux 8curl-0:7.61.1-33.el8_9.5Fixed 2024-04-02RHSA-2024:1601
Red Hat Enterprise Linux 8.6 Extended Update Supportcurl-0:7.61.1-22.el8_6.12Fixed 2024-01-25RHSA-2024:0428
Red Hat Enterprise Linux 8.8 Extended Update Supportcurl-0:7.61.1-30.el8_8.9Fixed 2024-01-30RHSA-2024:0585
Red Hat Enterprise Linux 9curl-0:7.76.1-26.el9_3.3Fixed 2024-03-05RHSA-2024:1129
Red Hat Enterprise Linux 9.0 Extended Update Supportcurl-0:7.76.1-14.el9_0.11Fixed 2024-01-25RHSA-2024:0434
Red Hat Enterprise Linux 9.2 Extended Update Supportcurl-0:7.76.1-23.el9_2.6Fixed 2024-01-25RHSA-2024:0452
Red Hat JBoss Core Servicesjbcs-httpd24-curlFixed 2024-03-18RHSA-2024:1317
RHODF-4.15-RHEL-9odf4/cephcsi-rhel9:v4.15.0-37Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-core-rhel9:v4.15.0-68Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/mcg-rhel9-operator:v4.15.0-39Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-console-rhel9:v4.15.0-58Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-operator-bundle:v4.15.0-158Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-client-rhel9-operator:v4.15.0-13Fixed 2024-03-19RHSA-2024:1383
RHODF-4.15-RHEL-9odf4/ocs-metrics-exporter-rhel9:v4.15.0-81Fixed 2024-03-19RHSA-2024:1383
Red Hat Enterprise Linux 6curlNot affected
Red Hat Enterprise Linux 7curlNot affected
Red Hat Satellite 6puppet-agentAffected
71 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-46218.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-24-319-04Siemens SINEC NMS2024-11-12MultipleSINEC NMSnone listed
ICSA-24-137-07Siemens SIMATIC RTLS Locating Manager2024-05-14MultipleSIMATIC RTLS Locating Manager (6GT2780-0DA00), SIMATIC RTLS Locating Manager (6GT2780-0DA10), SIMATIC RTLS Locating Manager (6GT2780-0DA20) and 4 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON