CVE-2023-45821
Incorrect Docker Hub registry check in Artifact Hub
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
Artifact Hub es una aplicación basada en web que permite buscar, instalar y publicar paquetes y configuraciones para proyectos CNCF. Durante una auditoría de seguridad del código base de Artifact Hub, un investigador de seguridad identificó un error en el que la función "registryIsDockerHub" solo verificaba que el dominio de registro tuviera el sufijo "docker.io". Artifact Hub permite proporcionar algunas credenciales de Docker que se utilizan para aumentar el límite de velocidad aplicado al interactuar con la API de registro de Docker Hub para leer contenido disponible públicamente. Debido a la verificación incorrecta descrita anteriormente, sería posible secuestrar esas credenciales comprando un dominio que termine con `docker.io` e implementando un registro OCI falso en él. utiliza algunas credenciales que solo tienen permisos para leer contenido público disponible en Docker Hub. Sin embargo, aunque las credenciales para repositorios privados (deshabilitadas en `artifacthub.io`) se manejan de una manera diferente, otras implementaciones de Artifact Hub podrían haberlas usado para un propósito diferente. Este problema se resolvió en la versión `1.16.0`. Se recomienda a los usuarios que actualicen. No se conocen workarounds para esta vulnerabilidad.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2023-10-13 CVE Reserved
- 2023-10-19 CVE Published
- 2024-09-12 CVE Updated
- 2024-10-25 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-494: Download of Code Without Integrity Check
CAPEC
References (2)
URL | Tag | Source |
---|---|---|
https://artifacthub.io/packages/helm/artifact-hub/artifact-hub?modal=changelog&version=1.16.0 | Product | |
https://github.com/artifacthub/hub/security/advisories/GHSA-g6pq-x539-7w4j | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Artifacthub Search vendor "Artifacthub" | Hub Search vendor "Artifacthub" for product "Hub" | < 1.16.0 Search vendor "Artifacthub" for product "Hub" and version " < 1.16.0" | - |
Affected
|