Bug 2082215 (CVE-2022-27782)

Summary: CVE-2022-27782 curl: TLS and SSH connection too eager reuse
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, erik-fedora, gzaronik, hhorak, jclere, jorton, jwon, kanderso, kdudka, luhliari, lvaleeva, mike, msekleta, mturk, omajid, paul, pjindal, rwagner, security-response-team, svashisht, szappis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: curl 7.83.1 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in curl. This issue occurs because curl can reuse a previously created connection even when a TLS or SSH-related option is changed that should have prohibited reuse. This flaw leads to an authentication bypass, either by mistake or by a malicious actor.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-06 17:33:12 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: 2083734, 2083735, 2083736, 2083737, 2083738, 2083980, 2083981, 2159948    
Bug Blocks: 2082195    

Description Marian Rehak 2022-05-05 15:18:44 UTC
libcurl would reuse a previously created connection even when a TLS or SSH related option had been changed that should have prohibited reuse. libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, several TLS and SSH settings were left out from the configuration match checks, making them match too easily.

Comment 3 Sandipan Roy 2022-05-11 07:23:00 UTC
Created curl tracking bugs for this issue:

Affects: fedora-all [bug 2083980]


Created mingw-curl tracking bugs for this issue:

Affects: fedora-all [bug 2083981]

Comment 4 errata-xmlrpc 2022-06-28 14:58:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:5245 https://access.redhat.com/errata/RHSA-2022:5245

Comment 5 errata-xmlrpc 2022-06-28 18:31:35 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:5313 https://access.redhat.com/errata/RHSA-2022:5313

Comment 8 Product Security DevOps Team 2022-12-06 17:33:08 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-2022-27782