Relative Path Traversal Affecting github.com/hashicorp/go-slug/internal/unpackinfo package, versions <0.16.3


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Relative Path Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPGOSLUGINTERNALUNPACKINFO-8620081
  • published17 Jan 2025
  • disclosed10 Jan 2025
  • creditNodyHub

Introduced: 10 Jan 2025

NewCVE-2025-0377  (opens in a new tab)
CWE-23  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/go-slug/internal/unpackinfo to version 0.16.3 or higher.

Overview

Affected versions of this package are vulnerable to Relative Path Traversal in the NewUnpackInfo() function in unpackinfo.go.

CVSS Scores

version 4.0
version 3.1