Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-46218
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 16:50 UTC · Revision 1
Source evidence
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.
osv:CVE-2023-46218
Complete source record
{
"id": "f78e067ca72400ca00f59f72f8f218784eb9ae8b58afda2f8eb61100bf4933a3",
"url": "https://osv.dev/vulnerability/CVE-2023-46218",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2023-46218",
"summary": "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.",
"evidence": "osv:CVE-2023-46218",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2023-46218",
"aliases": [
"CURL-CVE-2023-46218",
"CVE-2023-46218"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/curl/curl",
"type": "GIT",
"events": [
{
"introduced": "e2ae32ff5f3ab6f0819590f61f248f17df12987f"
},
{
"last_affected": "172e54cda18412da73fd8eb4e444e8a5b371ca59"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "7.46.0"
},
{
"last_affected": "8.4.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"tiny-curl-8_4_0",
"curl-8_4_0",
"curl-8_3_0",
"curl-8_2_1",
"curl-8_2_0",
"curl-8_1_2",
"curl-8_1_1",
"curl-8_1_0",
"curl-8_0_1",
"curl-8_0_0",
"curl-7_88_1",
"curl-7_88_0",
"curl-7_87_0",
"curl-7_86_0",
"curl-7_85_0",
"curl-7_84_0",
"curl-7_83_1",
"curl-7_83_0",
"curl-7_82_0",
"curl-7_81_0",
"curl-7_80_0",
"curl-7_79_1",
"curl-7_79_0",
"curl-7_78_0",
"curl-7_77_0",
"curl-7_76_1",
"curl-7_76_0",
"curl-7_75_0",
"curl-7_74_0",
"curl-7_73_0",
"curl-7_72_0",
"curl-7_71_1",
"curl-7_71_0",
"curl-7_70_0",
"curl-7_69_1",
"curl-7_69_0",
"curl-7_68_0",
"curl-7_67_0",
"curl-7_66_0",
"curl-7_65_3",
"curl-7_65_2",
"curl-7_65_1",
"curl-7_65_0",
"curl-7_64_1",
"curl-7_64_0",
"curl-7_63_0",
"curl-7_62_0",
"curl-7_61_1",
"curl-7_61_0",
"curl-7_60_0",
"curl-7_59_0",
"curl-7_58_0",
"curl-7_57_0",
"curl-7_56_1",
"curl-7_56_0",
"curl-7_55_1",
"curl-7_55_0",
"curl-7_54_1",
"curl-7_54_0",
"curl-7_53_1",
"curl-7_53_0",
"curl-7_52_1",
"curl-7_52_0",
"curl-7_51_0",
"curl-7_50_3",
"curl-7_50_2",
"curl-7_50_1",
"curl-7_50_0",
"curl-7_49_1",
"curl-7_49_0",
"curl-7_48_0",
"curl-7_47_1",
"curl-7_47_0",
"curl-7_46_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-46218.json"
}
}
],
"modified": "2026-10-28T02:30:44.425497939Z",
"provider": "osv",
"references": [
"https://cert-portal.siemens.com/productcert/html/ssa-082556.html",
"https://cert-portal.siemens.com/productcert/html/ssa-093430.html",
"https://cert-portal.siemens.com/productcert/html/ssa-202008.html",
"https://cert-portal.siemens.com/productcert/html/ssa-331112.html",
"https://curl.se/docs/CVE-2023-46218.html",
"https://hackerone.com/reports/2212193",
"https://lists.debian.org/debian-lts-announce/2023/12/msg00015.html",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ZX3VW67N4ACRAPMV2QS2LVYGD7H2MVE/",
"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UOGXU25FMMT2X6UUITQ7EZZYMJ42YWWD/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46218.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-46218",
"https://security.netapp.com/advisory/ntap-20240125-0007/",
"https://www.debian.org/security/2023/dsa-5587"
],
"provider_metadata": {
"cna_assigner": "hackerone",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "8.4.0"
},
{
"last_affected": "8.4.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/46xxx/CVE-2023-46218.json"
}
},
"related_cves": [
{
"value": "CVE-2023-46218",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 512460,
"published_at": "2023-12-07T01:10:34.846+00:00"
}