Bug 2082215 (CVE-2022-27782) - CVE-2022-27782 curl: TLS and SSH connection too eager reuse
Summary: CVE-2022-27782 curl: TLS and SSH connection too eager reuse
Keywords:
Status: NEW
Alias: CVE-2022-27782
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2083735 2083981 2083734 2083736 2083737 2083738 2083980
Blocks: 2082195
TreeView+ depends on / blocked
 
Reported: 2022-05-05 15:18 UTC by Marian Rehak
Modified: 2022-09-26 11:44 UTC (History)
25 users (show)

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.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:5245 0 None None None 2022-06-28 14:58:59 UTC
Red Hat Product Errata RHSA-2022:5313 0 None None None 2022-06-28 18:31:38 UTC

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


Note You need to log in before you can comment on or make changes to this bug.