{"id":"CVE-2023-46218","aliases":["CVE-2023-46218","CURL-CVE-2023-46218"],"related":[],"kind":"vulnerability","state":"published","title":"cookie mixed case PSL bypass","summary":"This flaw allows a malicious HTTP server to set \"super cookies\" in curl that\nare then passed back to more origins than what is otherwise allowed or\npossible. This allows a site to set cookies that then would get sent to\ndifferent and unrelated sites and domains.\n\nIt could do this by exploiting a mixed case flaw in curl's function that\nverifies a given cookie domain against the Public Suffix List (PSL). For\nexample a cookie could be set with `domain=co.UK` when the URL used a lower\ncase hostname `curl.co.uk`, even though `co.uk` is listed as a PSL domain.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"This flaw allows a malicious HTTP server to set \"super cookies\" in curl that\nare then passed back to more origins than what is otherwise allowed or\npossible. This allows a site to set cookies that then would get sent to\ndifferent and unrelated sites and domains.\n\nIt could do this by exploiting a mixed case flaw in curl's function that\nverifies a given cookie domain against the Public Suffix List (PSL). For\nexample a cookie could be set with `domain=co.UK` when the URL used a lower\ncase hostname `curl.co.uk`, even though `co.uk` is listed as a PSL domain.","source":"cvelist"},{"lang":"en","text":"This flaw allows a malicious HTTP server to set \"super cookies\" in curl that\nare then passed back to more origins than what is otherwise allowed or\npossible. This allows a site to set cookies that then would get sent to\ndifferent and unrelated sites and domains.\n\nIt could do this by exploiting a mixed case flaw in curl's function that\nverifies a given cookie domain against the Public Suffix List (PSL). For\nexample a cookie could be set with `domain=co.UK` when the URL used a\nlowercase hostname `curl.co.uk`, even though `co.uk` is listed as a PSL\ndomain.","format":"markdown","source":"curl"},{"lang":"es","text":"Esta falla permite que un servidor HTTP malicioso establezca \"supercookies\" en curl que luego se devuelven a más orígenes de los que están permitidos o son posibles. Esto permite que un sitio establezca cookies que luego se enviarán a sitios y dominios diferentes y no relacionados. Podría hacer esto explotando una falla de mayúsculas y minúsculas en la función de curl que verifica un dominio de cookie determinado con Public Suffix List (PSL). Por ejemplo, una cookie podría configurarse con `domain=co.UK` cuando la URL utilizaba un nombre de host en minúscula `curl.co.uk`, aunque `co.uk` aparezca como un dominio PSL.","source":"nvd"}],"published":"2023-12-06T08:00:00.000Z","modified":"2026-10-25T01:05:26.531Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"curl","scheme":"rating","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-178"],"affected":[{"ranges":[{"type":"semver","introduced":"8.4.0","lastAffected":"8.4.0","status":"affected"},{"type":"semver","introduced":"7.46.0","fixed":"7.46.0","status":"unaffected"}],"vendor":"curl","product":"curl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"7.46.0","status":"affected","fixed":"8.5.0"},{"type":"git","introduced":"e77b5b7453c1e8ccd7ec0816890d98e2f392e465","status":"affected","fixed":"2b0994c29a721c91c572cff7808c572a24d251eb"}],"repo":"https://github.com/curl/curl.git","source":"curl"},{"ranges":[{"status":"affected","introduced":"7.46.0","lastAffected":"8.4.0"}],"vendor":"haxx","product":"curl","cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://hackerone.com/reports/2212193","tags":["exploit","issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://curl.se/docs/CVE-2023-46218.html","tags":["patch","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3ZX3VW67N4ACRAPMV2QS2LVYGD7H2MVE/","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UOGXU25FMMT2X6UUITQ7EZZYMJ42YWWD/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00015.html","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5587","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240125-0007/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-093430.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-331112.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-202008.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["Harry Sintonen","Daniel Stenberg"],"assigner":"hackerone","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-05-28T16:38:08.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-46218","url":"https://www.cve.org/CVERecord?id=CVE-2023-46218","licence":"CVE Terms of Use","modified":"2026-10-15T00:04:49.559Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2023-46218","url":"https://osv.dev/vulnerability/CURL-CVE-2023-46218","licence":"MIT","modified":"2026-10-25T01:05:26.531Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-46218","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46218","licence":"Public domain","modified":"2026-06-17T06:30:22.953Z"}],"updatedAt":"2026-11-25T22:58:31.087Z","epss":{"score":0.01685,"percentile":0.77696,"date":"2026-12-01T12:00:22.000Z"}}