Advisory

GHSA-cjr4-fv6c-f3mv

Also known as: CVE-2022-26945, CVE-2022-30321, CVE-2022-30322, CVE-2022-30323, GHSA-28r2-q6m8-9hpx, GHSA-fcgg-rvwg-jv58, GHSA-x24g-9w7v-vprh, GO-2022-0586

Summary

HashiCorp go-getter unsafe downloads could lead to arbitrary host access

Details

HashiCorp go-getter through 2.0.2 does not safely perform downloads. Arbitrary host access was possible via go-getter path traversal, symlink processing, and command injection flaws.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-26 00:01 UTC
Modified
2024-05-20 21:26 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