Go GetterApplication · Hashicorp

CVE-2023-0475

MEDIUM · 6.5 CVSS v3.1 Published 2023-02-16
Fix available
A fix is available. Upgrade to after 1.6.2 or later.
See remediation →
72/100
Remediation priority · Elevated
Remotely reachable No privileges

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
HashiCorp go-getter up to 1.6.2 and 2.1.1 is vulnerable to decompression bombs. Fixed in 1.7.0 and 2.2.0.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The go-getter library used by HashiCorp products is vulnerable to decompression bomb attacks (zip bombs). Attackers can craft malicious compressed archives that expand to enormous sizes when decompressed, potentially causing denial of service by exhausting memory or disk space. The library processes compressed files without proper limits on decompression ratios.

MitigationUpgrade go-getter to version 1.7.0 or 2.2.0 or later to implement decompression limits. Review any code that uses go-getter to ensure it handles resource fetching safely.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Go GetterApplication
Affected:<= 1.6.2= 2.1.1

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify go-getter as a dependency
    Inspect your project's go.mod file for 'github.com/hashicorp/go-getter' or check vendor/ directory for the go-getter package. HashiCorp tools like Terraform, Vault, or Consul include this library.
    Affected if go-getter is present as a dependency in your project
  2. Determine the installed go-getter version
    Run 'go list -m github.com/hashicorp/go-getter' or check the version line in go.mod. Compare the version number against the affected ranges: <= 1.6.2 or = 2.1.1
    Affected if The installed version is 1.6.2 or lower, or exactly 2.1.1
  3. Verify if your application fetches or processes remote resources
    Search source code for usage of go-getter functions such as 'get.Get', 'get.GetAny', or client calls that retrieve archives from URLs, S3, or other remote sources.
    Affected if Your code uses go-getter to fetch archives from remote or untrusted sources
  4. Confirm the application handles compressed archives
    Review whether the fetched resources include compressed file types (zip, tar.gz, tgz, bz2) that would be decompressed by go-getter during retrieval.
    Affected if The application decompresses archives retrieved via go-getter without external limits

You are affected if your project depends on go-getter version 1.6.2 or lower, or exactly 2.2.1, and your application uses that library to fetch or decompress archives from remote or untrusted sources.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 1.6.2
Interim mitigation

Upgrade go-getter to version 1.7.0 or 2.2.0 or later to implement decompression limits. Review any code that uses go-getter to ensure it handles resource fetching safely.

Recommended fix High confidence

1.7.0 (for 1.x line) or 2.2.0 (for 2.x line)

  1. Identify which version line (1.x or 2.x) of go-getter is currently in use
  2. For 1.x users: upgrade go-getter to version 1.7.0
  3. For 2.x users: upgrade go-getter to version 2.2.0
  4. Verify the upgrade was successful by checking the installed version

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Go Getter Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing2.0 h
  • Review / QA1.0 h
5.0 hours of engineering $860
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,376.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2023-0475 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2023-0475 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data