Symlink Attack Affecting github.com/artifacthub/hub package, versions <1.16.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.14% (52nd percentile)

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 IDSNYK-GOLANG-GITHUBCOMARTIFACTHUBHUB-6016646
  • published20 Oct 2023
  • disclosed19 Oct 2023
  • creditDejan Zelic

Introduced: 19 Oct 2023

CVE-2023-45823  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade github.com/artifacthub/hub to version 1.16.0 or higher.

Overview

github.com/artifacthub/hub is an a web-based application that enables finding, installing, and publishing packages and configurations for CNCF projects.

Affected versions of this package are vulnerable to Symlink Attack when processing git-based repositories due to improper file validation. An attacker can read arbitrary files in the system, potentially leaking sensitive information by using symbolic links in certain kinds of repositories loaded into the application.

References

CVSS Base Scores

version 3.1