CVE-2022-29810 Insertion of Sensitive Information into Log File in Hashicorp go-getter

Medium 5.5 Published Updated

The Hashicorp go-getter library fails to redact SSH keys from URL query parameters, potentially exposing sensitive credentials to attackers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2022-29810?

CVE-2022-29810 is a medium-severity vulnerability in n/a, published on 27 Apr 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The Hashicorp go-getter library before 1.5.11 does not redact an SSH key from a URL query parameter.

Weakness: CWE-532

Which versions are affected by CVE-2022-29810?

3 open source packages ship an affected version, including github.com/hashicorp/go-getter. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/go-getter GoAll versions1.5.11
github.com/hashicorp/go-getter GoAll versions1.5.11
github.com/hashicorp/go-getter GoAll versions1.5.11

Products include Hashicorp Go-Getter.

How do I fix CVE-2022-29810?

Upgrade github.com/hashicorp/go-getter to 1.5.11 or later.

Is CVE-2022-29810 being exploited?

There is no known exploitation of CVE-2022-29810 in the wild and no public exploit code.

Sources

Also known as GHSA-27rq-4943-qcwp, GO-2022-0438.

Is CVE-2022-29810 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free