curl — 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
- curl
- Affected versions
- 7.88.1-10, 7.88.1-10+deb12u1, 7.88.1-10+deb12u1~bpo11+1, 7.88.1-10+deb12u2, 7.88.1-10+deb12u3, 7.88.1-10+deb12u3~bpo11+1, 7.88.1-10+deb12u4, 7.88.1-10+deb12u5~bpo11+1
- Fixed versions
- 7.88.1-10+deb12u5, 8.5.0-1
- CVEs
- CVE-2023-46218
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:46 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:DEBIAN-CVE-2023-46218
curl
Fixed versions: 7.88.1-10+deb12u5
curl
Fixed versions: 8.5.0-1
curl
Fixed versions: 8.5.0-1
Complete source record
{
"id": "8bbad0ce9837e35df5b087fa1e1329f0bf36a9e8ed5f38449b6bcbe9e02a8837",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-46218",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-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:DEBIAN-CVE-2023-46218",
"products": [
{
"name": {
"value": "curl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.88.1-10+deb12u5",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "7.88.1-10",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u1~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u2",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u3",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u3~bpo11+1",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u4",
"evidence": "/affected/0/versions"
},
{
"value": "7.88.1-10+deb12u5~bpo11+1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "curl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2023-46218",
"aliases": [
"DEBIAN-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": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "7.88.1-10+deb12u5"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"7.88.1-10",
"7.88.1-10+deb12u1",
"7.88.1-10+deb12u1~bpo11+1",
"7.88.1-10+deb12u2",
"7.88.1-10+deb12u3",
"7.88.1-10+deb12u3~bpo11+1",
"7.88.1-10+deb12u4",
"7.88.1-10+deb12u5~bpo11+1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46218.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.5.0-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46218.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "8.5.0-1"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:deb/debian/curl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-46218.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-26T18:01:43.705710199Z",
"provider": "osv",
"upstream": [
"CVE-2023-46218"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2023-46218"
]
},
"related_cves": [
{
"value": "CVE-2023-46218",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 455659,
"published_at": "2023-12-07T01:15:07.16+00:00"
}