{"cve":"CVE-2023-45821","nvd":{"published":"2023-10-19T21:15:08.847","modified":"2026-06-17T06:29:35.607","status":"Modified","description":"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 the `registryIsDockerHub` function was only checking that the registry domain had the `docker.io` suffix. Artifact Hub allows providing some Docker credentials that are used to increase the rate limit applied when interacting with the Docker Hub registry API to read publicly available content. Due to the incorrect check described above, it'd be possible to hijack those credentials by purchasing a domain which ends with `docker.io` and deploying a fake OCI registry on it. <https://artifacthub.io/> uses some credentials that only have permissions to read public content available in the Docker Hub. However, even though credentials for private repositories (disabled on `artifacthub.io`) are handled in a different way, other Artifact Hub deployments could have been using them for a different purpose. This issue has been resolved in version `1.16.0`. Users are advised to upgrade. There are no known workarounds for this vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-494"],"references":["https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0","https://github.com/artifacthub/hub/security/advisories/GHSA-g6pq-x539-7w4j","https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0","https://github.com/artifacthub/hub/security/advisories/GHSA-g6pq-x539-7w4j"],"products":["artifacthub:hub"],"source":"nvd","synced_at":"2026-10-19T21:40:11.519948003+00:00"},"epss":{"cve":"CVE-2023-45821","score":0.00243,"percentile":0.15548,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g6pq-x539-7w4j","url":"https://osv.dev/vulnerability/GHSA-g6pq-x539-7w4j","summary":"Artifact Hub has Incorrect Docker Hub registry check","modified":"2024-08-21T14:56:49.330574Z","packages":[{"ecosystem":"Go","name":"github.com/artifacthub/hub","purl":"pkg:golang/github.com/artifacthub/hub","ranges":["<1.16.0"],"fixed":["1.16.0"]}]},{"id":"GO-2023-2135","url":"https://osv.dev/vulnerability/GO-2023-2135","summary":"Artifact Hub has Incorrect Docker Hub registry check in github.com/artifacthub/hub","modified":"2026-03-03T04:55:07.006654Z","packages":[{"ecosystem":"Go","name":"github.com/artifacthub/hub","purl":"pkg:golang/github.com/artifacthub/hub","ranges":["<1.16.0"],"fixed":["1.16.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}