Advisory

GHSA-fcgg-rvwg-jv58

Also known as: CVE-2022-26945, CVE-2022-30321, CVE-2022-30322, CVE-2022-30323, GHSA-28r2-q6m8-9hpx, GHSA-cjr4-fv6c-f3mv, GHSA-x24g-9w7v-vprh, GO-2022-0586

Summary

HashiCorp go-getter unsafe downloads

Details

HashiCorp go-getter through 2.0.2 does not safely perform downloads. Protocol switching, endless redirect, and configuration bypass were possible via abuse of custom HTTP response header processing.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-26 00:01 UTC
Modified
2024-03-15 00:05 UTC

Affected packages and fixes

github.com/hashicorp/go-getter

Go · All systems

Affected

  • introduced 0, fixed 1.6.1 (semver)

Fixed versions

1.6.1

Fix

github.com/hashicorp/go-getter

Go · All systems

Affected

  • introduced 2.0.0, fixed 2.1.0 (semver)

Fixed versions

2.1.0

Fix

github.com/hashicorp/go-getter/v2

Go · All systems

Affected

  • introduced 0, fixed 2.1.0 (semver)

Fixed versions

2.1.0

Fix

github.com/hashicorp/go-getter/s3/v2

Go · All systems

Affected

  • introduced 0, fixed 2.1.0 (semver)

Fixed versions

2.1.0

Fix

github.com/hashicorp/go-getter/gcs/v2

Go · All systems

Affected

  • introduced 0, fixed 2.1.0 (semver)

Fixed versions

2.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences