Bug 2179073 (CVE-2023-27535)

Summary: CVE-2023-27535 curl: FTP too eager connection 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, jclere, kanderso, kdudka, kyoshida, 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 8.0.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Curl package. Libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, several FTP settings were left out from the configuration match checks, making them match too easily. The problematic settings are `CURLOPT_FTP_ACCOUNT`, `CURLOPT_FTP_ALTERNATIVE_TO_USER`, `CURLOPT_FTP_SSL_CCC` and `CURLOPT_USE_SSL` level.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-18 02:31:33 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: 2179113, 2179114, 2179115, 2179116, 2179117, 2179119, 2179121, 2180429, 2180430    
Bug Blocks: 2178228    

Description Marian Rehak 2023-03-16 15:06:37 UTC
libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, several FTP settings were left out from the configuration match checks, making them match too easily. The settings in questions are `CURLOPT_FTP_ACCOUNT`, `CURLOPT_FTP_ALTERNATIVE_TO_USER`, `CURLOPT_FTP_SSL_CCC` and `CURLOPT_USE_SSL` level.

Comment 2 Sandipan Roy 2023-03-21 13:04:17 UTC
Created curl tracking bugs for this issue:

Affects: fedora-all [bug 2180429]


Created mingw-curl tracking bugs for this issue:

Affects: fedora-all [bug 2180430]

Comment 4 errata-xmlrpc 2023-05-09 11:05:36 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 5 errata-xmlrpc 2023-05-16 10:02:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 7 Product Security DevOps Team 2023-05-18 02:31:30 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-27535

Comment 9 errata-xmlrpc 2024-01-24 16:49:05 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