{"id":"CVE-2023-45823","published":"2023-10-19T20:53:40Z","modified":"2024-09-12T17:45:40Z","title":"Arbitrary file read in Artifact Hub","vendor":"artifacthub","product":"hub","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00754,"percentile":0.56016,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/artifacthub/hub/security/advisories/GHSA-hmq4-c2r4-5q8h","tags":["x_refsource_CONFIRM"]},{"url":"https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0","tags":["x_refsource_MISC"]}],"priority":{"score":16.5,"factors":[{"name":"EPSS percentile","points":11.2},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"artifacthub","affectedVersions":[{"vendor":"artifacthub","product":"hub","versions":["< 1.16.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-12T17:36:41.069974Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/artifacthub/hub","vulnerableRanges":["<1.16.0"],"patched":["1.16.0"],"from":["GHSA-hmq4-c2r4-5q8h","GO-2023-2136"],"provenance":"source"}],"summary":{"text":"Artifact Hub's hub component fails to check whether files read from cloned git repositories are symbolic links, allowing a file read outside the intended directory. An attacker who can get a git-based repository indexed by Artifact Hub can use symbolic links within it to read arbitrary files on the system, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:06Z"},"euvd":{"id":"EUVD-2023-2749","exploited":false,"provenance":"source"}}