CVE-2022-29810 Insertion of Sensitive Information into Log File in Hashicorp go-getter
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.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/go-getter Go | All versions | 1.5.11 |
github.com/hashicorp/go-getter Go | All versions | 1.5.11 |
github.com/hashicorp/go-getter Go | All versions | 1.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-27rq-4943-qcwp, GO-2022-0438.