CVE-2023-45823 json
Arbitrary file read in Artifact Hub
published 3y ago modified 4mo ago also GHSA-hmq4-c2r4-5q8h , GO-2023-2136 , EUVD-2023-2749
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.8%
- EPSS 0.8% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/artifacthub/hub 1.16.0
- artifacthub hub 1.16.0
Is CVE-2023-45823 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2y ago
Exploit prediction
0.75% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-15).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/artifacthub/hub | <1.16.0 |
1.16.0 |
Affected products
- artifacthub hub
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/artifacthub/hub/security/advisories/GHSA-hmq4-c2r4-5q8h
web, third-party-advisory, advisory
-
artifacthub.io
/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2023-45823
advisory
-
github.com
/artifacthub/hub
package
Sources
- CVE List CVE-2023-45823
- GitHub Advisory GHSA-hmq4-c2r4-5q8h
- NVD CVE-2023-45823
- OSV GO-2023-2136
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.