Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/artifacthub/hub
  4. ›
  5. CVE-2023-45823

CVE-2023-45823: Artifact Hub arbitrary file read vulnerability

October 19, 2023

Artifact Hub is a web-based application that enables finding, installing, and publishing packages and configurations for CNCF projects. During a security audit of Artifact Hub’s code base a security researcher identified a bug in which by using symbolic links in certain kinds of repositories loaded into Artifact Hub, it was possible to read internal files. Artifact Hub indexes content from a variety of sources, including git repositories. When processing git based repositories, Artifact Hub clones the repository and, depending on the artifact kind, reads some files from it. During this process, in some cases, no validation was done to check if the file was a symbolic link. This made possible to read arbitrary files in the system, potentially leaking sensitive information. This issue has been resolved in version 1.16.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

References

  • artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0
  • github.com/advisories/GHSA-hmq4-c2r4-5q8h
  • github.com/artifacthub/hub/security/advisories/GHSA-hmq4-c2r4-5q8h
  • nvd.nist.gov/vuln/detail/CVE-2023-45823

Code Behaviors & Features

Detect and mitigate CVE-2023-45823 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.16.0

Fixed versions

  • v1.16.0

Solution

Upgrade to version 1.16.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

go/github.com/artifacthub/hub/CVE-2023-45823.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.