CVE-2023-46218
MEDIUM6.5EPSS 0.22%curl - security update
Published: 12/7/2023Modified: 4/28/2026
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 packages (3)
- Alpine/curlfrom 0, < 8.5.0-r0
- Debian/curlfrom 0, < 7.74.0-1.3+deb11u11
- Debian/curlfrom 0, < 7.74.0-1.3+deb11u11
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |