Bug 2167813 (CVE-2023-23915)

Summary: CVE-2023-23915 curl: HSTS amnesia with --parallel
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andrew.slice, bodavis, csutherl, dbhole, jclere, kanderso, kdudka, lvaleeva, mturk, omajid, peholase, pjindal, plodge, rwagner, security-response-team, szappis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: curl 7.88.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Curl package, where the HSTS mechanism could fail when multiple transfers are done in parallel, as the HSTS cache file gets overwritten by the most recently completed transfer. This issue may result in limited confidentiality and integrity.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-05 18:19:14 UTC 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: 2168942, 2168943, 2168944, 2170749, 2170750    
Bug Blocks: 2167792    

Description Marian Rehak 2023-02-07 15:50:49 UTC
Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. This HSTS mechanism would however surprisingly fail when multiple transfers are done in parallel as the HSTS cache file gets overwritten by the most recently completed transfer.

Comment 3 TEJ RATHI 2023-02-17 07:52:04 UTC
This CVE is public now.
https://curl.se/docs/CVE-2023-23915.html

Comment 4 TEJ RATHI 2023-02-17 07:52:41 UTC
Created curl tracking bugs for this issue:

Affects: fedora-all [bug 2170750]


Created mingw-curl tracking bugs for this issue:

Affects: fedora-all [bug 2170749]

Comment 5 errata-xmlrpc 2023-06-05 11:47:17 UTC
This issue has been addressed in the following products:

  JBCS httpd 2.4.51.sp2

Via RHSA-2023:3355 https://access.redhat.com/errata/RHSA-2023:3355

Comment 6 errata-xmlrpc 2023-06-05 11:51:05 UTC
This issue has been addressed in the following products:

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

Via RHSA-2023:3354 https://access.redhat.com/errata/RHSA-2023:3354

Comment 7 Product Security DevOps Team 2023-06-05 18:19:12 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-23915