Bug 2077547 (CVE-2022-27774)

Summary: CVE-2022-27774 curl: credential leak on redirect
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, saroy, security-response-team, svashisht, szappis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: curl 7.83.0 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in curl. This security flaw allows leaking credentials to other servers when it follows redirects from auth-protected HTTP(S) URLs to other protocols and port numbers.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-06 16:17:26 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: 2078736, 2078737, 2078738, 2078739, 2078740, 2079169, 2079170, 2113052    
Bug Blocks: 2077543    

Description Marian Rehak 2022-04-21 14:54:51 UTC
curl follows HTTP(S) redirects when asked to. curl also supports authentication. When a user and password are provided for a URL with a given hostname, curl makes an effort to not pass on those credentials to other hosts in redirects unless given permission with a special option.

Comment 4 Sandipan Roy 2022-04-27 06:35:03 UTC
https://curl.se/docs/CVE-2022-27774.html

Comment 5 Sandipan Roy 2022-04-27 06:35:42 UTC
Created curl tracking bugs for this issue:

Affects: fedora-all [bug 2079169]


Created mingw-curl tracking bugs for this issue:

Affects: fedora-all [bug 2079170]

Comment 6 errata-xmlrpc 2022-06-28 14:58:47 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 7 errata-xmlrpc 2022-06-28 18:31:26 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 11 Product Security DevOps Team 2022-12-06 16:17:23 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-27774