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
- Not specified
- Fixed versions
- 8.5.0-r0
- CVEs
- CVE-2023-46218
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 15:01 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:ALPINE-CVE-2023-46218
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
curl
Fixed versions: 8.5.0-r0
Complete source record
{
"id": "a9acf4698bacb10483b7251a98c925043f7c9d3c17d162a7e5d1f146a2cb7a8c",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2023-46218",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-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:ALPINE-CVE-2023-46218",
"products": [
{
"name": {
"value": "curl",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/6/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/7/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/8/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "curl",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "8.5.0-r0",
"evidence": "/affected/9/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2023-46218",
"aliases": [
"ALPINE-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": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.15"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.16"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.17"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.18"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.19"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.20"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.23"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.46.0"
},
{
"fixed": "8.5.0-r0"
}
]
}
],
"package": {
"name": "curl",
"purl": "pkg:apk/alpine/curl?arch=source",
"ecosystem": "Alpine:v3.24"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2023-46218.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-26T17:17:58.647762549Z",
"provider": "osv",
"upstream": [
"CVE-2023-46218"
],
"references": [
"https://security.alpinelinux.org/vuln/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": 454522,
"published_at": "2023-12-07T01:15:07.16+00:00"
}