CVE-2023-0475 Go-Getter Vulnerable to Decompression Bombs

Medium 4.2 Published Updated

Attackers can cause denial of service in applications using HashiCorp go-getter by submitting decompression bombs.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-0475?

CVE-2023-0475 is a medium-severity denial of service vulnerability in HashiCorp go-getter, published on 16 Feb 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-409

Which versions are affected by CVE-2023-0475?

6 open source packages ship an affected version, including github.com/hashicorp/go-getter and github.com/hashicorp/go-getter/v2. It affects 1 product.

PackageAffectedFixed in
github.com/hashicorp/go-getter GoAll versions1.7.0
github.com/hashicorp/go-getter GoAll versions1.7.0
github.com/hashicorp/go-getter GoAll versions1.7.0
github.com/hashicorp/go-getter/v2 GoFrom 2.0.02.2.0
github.com/hashicorp/go-getter/v2 GoFrom 2.0.02.2.0
github.com/hashicorp/go-getter/v2 GoFrom 2.0.02.2.0

Products include Hashicorp Go-Getter.

How do I fix CVE-2023-0475?

Upgrade github.com/hashicorp/go-getter to 1.7.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-0475 being exploited?

There is no known exploitation of CVE-2023-0475 in the wild and no public exploit code.

Sources

Also known as AZL-13586, AZL-13606, DEBIAN-CVE-2023-0475, GHSA-jpxj-2jvg-6jv9, GO-2023-1578, UBUNTU-CVE-2023-0475.

Is CVE-2023-0475 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free