Vulnerability · Published Jan 21, 2025 · Assigned by HashiCorp

CVE-2025-0377HashiCorp go-slug Vulnerable to Zip Slip Attack

High 7.5

In plain English

A high-severity security flaw in Shared library from HashiCorp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.7%top 47.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

HashiCorp’s go-slug library is vulnerable to a zip-slip style attack when a non-existing user-provided path is extracted from the tar entry.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/hashicorp/go-slug0.16.3GHSA-wpfp-cm49-9m9q
Gogithub.com/hashicorp/go-slug0.16.3GO-2025-3413

Affected products (as reported)

VendorProductVersions
HashiCorp Shared library 0 – before 0.16.2

Weakness: CWE-59 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References