Bug 2167797 (CVE-2023-23914)

Summary: CVE-2023-23914 curl: HSTS ignored on multiple requests
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
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 would be ignored by subsequent transfers when done on the same command line because the state would not be properly carried. This issue may result in limited confidentiality and integrity.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-05 18:18:17 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: 2168939, 2168940, 2168941, 2170747, 2170748    
Bug Blocks: 2167792    

Description Marian Rehak 2023-02-07 15:01:51 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 suprisingly be ignored by subsequent transfers when done on the same command line because the state would not be properly carried on.

Comment 2 TEJ RATHI 2023-02-17 07:51:43 UTC
This CVE is public now. 
https://curl.se/docs/CVE-2023-23914.html

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

Affects: fedora-all [bug 2170747]


Created mingw-curl tracking bugs for this issue:

Affects: fedora-all [bug 2170748]

Comment 4 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 5 errata-xmlrpc 2023-06-05 11:50:59 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 6 Product Security DevOps Team 2023-06-05 18:18:14 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-23914