Bug 2080279 (CVE-2022-29810) - CVE-2022-29810 go-getter: writes SSH credentials into logfile, exposing sensitive credentials to local uses
Summary: CVE-2022-29810 go-getter: writes SSH credentials into logfile, exposing sensi...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-29810
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: 2080283 2080303 2080304 2080305 2080306 2080307 2080308 2080309 2080311 2080312 2082133 2082134 2082135 2082136 2082137 2082138 2082139 2082140 2082141 2082142 2083031 2085280 2085289
Blocks: 2080284
TreeView+ depends on / blocked
 
Reported: 2022-04-29 12:31 UTC by Vipul Nair
Modified: 2022-09-02 19:32 UTC (History)
24 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-09-02 19:32:41 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:4956 0 None None None 2022-06-09 02:06:58 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:35:06 UTC
Red Hat Product Errata RHSA-2022:5201 0 None None None 2022-06-27 17:03:54 UTC
Red Hat Product Errata RHSA-2022:5392 0 None None None 2022-06-28 17:06:26 UTC
Red Hat Product Errata RHSA-2022:6156 0 None None None 2022-08-24 13:47:46 UTC

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


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