cve.bz

CVE-2025-0377 hashicorp go-slug: Link Following

9.1 criticalEPSS 0.7%Fix available

Critical (9.1) in hashicorp go-slug. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/hashicorp/go-slug 0.16.3.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 53rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-01-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-0377 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-0377?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-0377?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-0377 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
HashiCorp Shared librarybefore 0.16.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-wpfp-cm49-9m9qGogithub.com/hashicorp/go-slug<0.16.30.16.3
GO-2025-3413Gogithub.com/hashicorp/go-slug<0.16.30.16.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSELinux Enterprise Module for Package Hub 15 SP6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
openSUSELeap 15.6govulncheck-vulndb0.0.20250128T150132-150000.1.29.1SUSE-SU-2025:0297-1
openSUSELeap 16.0helmfile1.1.9-bp160.1.1openSUSE-SU-2025:20097-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250128T150132-1.1openSUSE-SU-2025:14710-1
openSUSETumbleweedhelmfile0.170.1-1.1openSUSE-SU-2025:14684-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

None of the Red Hat offerings are affected by this vulnerability.

This issue has an impact over the integrity of the system as can write and over-write arbitrary files on the system where these files are extracted.

Red Hat's mitigation

No mitigation is available for this issue other than updating the affected package to the version containing the fix.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-0377.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON