Bug 2252030 (CVE-2023-46218)

Summary: CVE-2023-46218 curl: information disclosure by exploiting a mixed case flaw
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bbuckingham, bcourt, csutherl, ehelms, jclere, jsherril, lzap, mhulan, mturk, nmoumoul, orabin, pcreech, peholase, pjindal, plodge, prodsec-ir-bot, psampaio, rchan, sbroz, security-response-team, szappis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: curl 8.5.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in curl that verifies a given cookie domain against the Public Suffix List. This issue could allow a malicious HTTP server to set "super cookies" in curl that are passed back to more origins than what is otherwise allowed or possible.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2253142, 2254385    
Bug Blocks: 2252024    

Description Marian Rehak 2023-11-29 05:48:42 UTC
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.

Comment 3 Pedro Sampaio 2023-12-06 09:40:28 UTC
Created curl tracking bugs for this issue:

Affects: fedora-all [bug 2253142]

Comment 10 errata-xmlrpc 2024-01-24 15:26:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Extended Update Support

Via RHSA-2024:0434 https://access.redhat.com/errata/RHSA-2024:0434

Comment 11 errata-xmlrpc 2024-01-24 16:40:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:0452 https://access.redhat.com/errata/RHSA-2024:0452

Comment 12 errata-xmlrpc 2024-01-24 16:49:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Extended Update Support

Via RHSA-2024:0428 https://access.redhat.com/errata/RHSA-2024:0428

Comment 13 errata-xmlrpc 2024-01-30 13:24:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:0585 https://access.redhat.com/errata/RHSA-2024:0585

Comment 14 errata-xmlrpc 2024-03-05 18:11:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:1129 https://access.redhat.com/errata/RHSA-2024:1129

Comment 15 errata-xmlrpc 2024-03-18 16:22:24 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2024:1317 https://access.redhat.com/errata/RHSA-2024:1317

Comment 16 errata-xmlrpc 2024-03-18 16:33:58 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7
  JBoss Core Services for RHEL 8

Via RHSA-2024:1316 https://access.redhat.com/errata/RHSA-2024:1316

Comment 17 errata-xmlrpc 2024-04-02 15:55:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:1601 https://access.redhat.com/errata/RHSA-2024:1601