GO-2022-0586
Dashboard / Vulnerabilities / GO-2022-0586
GO-2022-0586
Summary: Resource exhaustion in github.com/hashicorp/go-getter and related modules
Details: Malicious HTTP responses can cause a number of misbehaviors, including overwriting local files, resource exhaustion, and panics. * Protocol switching, endless redirect, and configuration bypass are possible through abuse of custom HTTP response header processing. * Arbitrary host access is possible through go-getter path traversal, symlink processing, and command injection flaws. * Asymmetric resource exhaustion can occur when go-getter processes malicious HTTP responses. * A panic can be triggered when go-getter processed password-protected ZIP files.
References: https://discuss.hashicorp.com/t/hcsec-2022-13-multiple-vulnerabilities-in-go-getter-library/39930, https://github.com/hashicorp/go-getter/pull/361, https://github.com/hashicorp/go-getter/commit/38e97387488f5439616be60874979433a12edb48, https://github.com/hashicorp/go-getter/commit/a2ebce998f8d4105bd4b78d6c99a12803ad97a45, https://github.com/hashicorp/go-getter/pull/359
Affected packages
Package
Name: github.com/hashicorp/go-getter
Purl: pkg:golang/github.com/hashicorp/go-getter
Affected ranges
Type: SEMVER
Events:
