PT-2022-20064 · Hashicorp+1 · Go-Getter+1

Alessio Della Libera

+1

·

Published

2022-05-25

·

Updated

2022-11-21

·

CVE-2022-30322

CVSS v3.1

8.6

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
Name of the Vulnerable Software and Affected Versions HashiCorp go-getter versions 1.5.11 and earlier, 2.0.2 and earlier
Description The issue allows for asymmetric resource exhaustion when processing malicious HTTP responses. It also enables protocol switching, endless redirect, and configuration bypass via abuse of custom HTTP response header processing. Additionally, arbitrary host access is possible through path traversal, symlink processing, and command injection flaws. Malicious HTTP responses can cause misbehaviors, including overwriting local files, resource exhaustion, and panics. A panic can be triggered when processing password-protected ZIP files.
Recommendations For versions 1.5.11 and earlier, update to version 1.6.1 or later. For version 2.0.2, update to version 2.1.0 or later. As a temporary workaround, consider restricting access to the go-getter function until a patch is available. Avoid using go-getter to process malicious HTTP responses until the issue is resolved.

Fix

Command Injection

Weakness Enumeration

Related Identifiers

CVE-2022-30322
GHSA-28R2-Q6M8-9HPX
GHSA-CJR4-FV6C-F3MV
GHSA-FCGG-RVWG-JV58
GHSA-X24G-9W7V-VPRH
GO-2022-0586

Affected Products

Debian
Go-Getter