Bug 2080279 (CVE-2022-29810)

Summary: CVE-2022-29810 go-getter: writes SSH credentials into logfile, exposing sensitive credentials to local uses
Product: [Other] Security Response Reporter: Vipul Nair <vinair>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amctagga, aos-bugs, bdettelb, bmontgom, eclipseo, eglynn, eparis, go-sig, gparvin, jburrell, jjoyce, jokerman, jramanat, lhh, mburns, njean, nstielau, pahickey, rhos-maint, sponnaga, spower, stcannon, tsedovic, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gogetter 1.5.11 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in go-getter, where the go-getter library can write SSH credentials into its log file. This flaw allows a local user with access to read log files to read sensitive credentials, which may lead to privilege escalation or account takeover.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-02 19:32:41 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: 2080283, 2080303, 2080304, 2080305, 2080306, 2080307, 2080308, 2080309, 2080311, 2080312, 2082133, 2082134, 2082135, 2082136, 2082137, 2082138, 2082139, 2082140, 2082141, 2082142, 2083031, 2085280, 2085289    
Bug Blocks: 2080284    

Description Vipul Nair 2022-04-29 12:31:07 UTC
The Hashicorp go-getter library before 1.5.11 could write SSH credentials into its logfile, exposing sensitive credentials to local users able to read the logfile.

https://github.com/hashicorp/go-getter/pull/348
https://github.com/hashicorp/go-getter/commit/36b68b2f68a3ed10ee7ecbb0cb9f6b1dc5da49cc
https://github.com/hashicorp/go-getter/releases/tag/v1.5.11

Comment 1 Vipul Nair 2022-04-29 12:37:32 UTC
Created golang-github-yujunz-getter tracking bugs for this issue:

Affects: fedora-all [bug 2080283]

Comment 6 errata-xmlrpc 2022-06-09 02:06:55 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.5 for RHEL 8

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

Comment 7 errata-xmlrpc 2022-06-27 17:03:52 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.4 for RHEL 8

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

Comment 8 errata-xmlrpc 2022-06-28 17:06:22 UTC
This issue has been addressed in the following products:

  Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 8
  Red Hat Advanced Cluster Management for Kubernetes 2.3 for RHEL 7

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

Comment 10 errata-xmlrpc 2022-08-10 10:35:04 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.11

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

Comment 11 errata-xmlrpc 2022-08-24 13:47:44 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Data Foundation 4.11 on RHEL8

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

Comment 12 Product Security DevOps Team 2022-09-02 19:32:38 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-29810