SecurityContext

CVE-2023-45821: Artifact Hub - Undefined

  • Cve: CVE-2023-45821
  • Name: Artifact Hub - Undefined
  • 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.
  • Impact: Attackers can hijack Docker credentials, potentially leading to unauthorized access or misuse of Docker Hub resources.
  • Remediation: Upgrade to version 1.16.0 or later.
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Epss score: 0.00243
  • Epss percentile: 0.15438
  • Assignee: [email protected]
  • Published at: 2023-10-19T21:15:08Z
  • Age in days: 1132
  • Modified at: 2026-06-17T06:29:35Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-45821
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-494Download of Code Without Integrity Check
NVD-CWE-noinfo—

References

UrlSourceTags
https://github.com/artifacthub/hub/security/advisories/GHSA-g6pq-x539-7w4jnvdThird Party Advisory
https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0nvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
artifacthub:hub< 1.16.0nonvd/v1/products/artifacthub/hub

Projects

RepositoryLink kindsIndexedUrl
artifacthub/hubpackage, security_advisoryyes/v1/repositories/artifacthub/hub

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts