CVE-2023-46737
CVE-2023-46737 · Possible endless data attack from attacker-controlled registry in cosign
CVSS 3.1 · Baja · EPSS 0,7% · Corrección disponible
Compara con tu versión instalada
Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.
- cosignSin corrección publicada
- cosign Alpine 3.19Actualiza a 2.2.1-r0
- cosign Alpine 3.20Actualiza a 2.2.1-r0
- cosign Alpine 3.21Actualiza a 2.2.1-r0
- y 3 más
Comprueba la versión instalada:
apk list -I -o cosignEvalúa los riesgos de tu servidor
La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.
La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.
curl -fsSL https://patchfirst.dev/check.sh | shLos canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.
Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.
Cosign is a sigstore signing tool for OCI containers. Cosign is susceptible to a denial of service by an attacker controlled registry. An attacker who controls a remote registry can return a high number of attestations and/or signatures to Cosign and cause Cosign to enter a long loop resulting in an endless data attack. The root cause is that Cosign loops through all attestations fetched from the remote registry in pkg/cosign.FetchAttestations. The attacker needs to compromise the registry or make a request to a registry they control. When doing so, the attacker must return a high number of attestations in the response to Cosign. The result will be that the attacker can cause Cosign to go into a long or infinite loop that will prevent other users from verifying their data. In Kyvernos case, an attacker whose privileges are limited to making requests to the cluster can make a request with an image reference to their own registry, trigger the infinite loop and deny other users from completing their admission requests. Alternatively, the attacker can obtain control of the registry used by an organization and return a high number of attestations instead the expected number of attestations. The issue can be mitigated rather simply by setting a limit to the limit of attestations that Cosign will loop through. The limit does not need to be high to be within the vast majority of use cases and still prevent the endless data attack. This issue has been patched in version 2.2.1 and users are advised to upgrade.
- Publicación
- Actualización
Correcciones en distribuciones
- openSUSE-SU-2024:13402-1 · openSUSE Tumbleweed ·
- SUSE-SU-2023:4870-1 · openSUSE Leap 15.4, openSUSE Leap 15.5, SUSE Linux Enterprise Module for Basesystem 15 SP4, SUSE Linux Enterprise Module for Basesystem 15 SP5 ·
Pila tecnológica: system
Productos y versiones afectados
cosign
- Versiones
- < 2.2.1: Afectada
Sin corrección publicada
cosign Alpine 3.19
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.2.1-r0
Actualiza a 2.2.1-r0
cosign Alpine 3.20
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.2.1-r0
Actualiza a 2.2.1-r0
cosign Alpine 3.21
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.2.1-r0
Actualiza a 2.2.1-r0
cosign Alpine 3.22
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.2.1-r0
Actualiza a 2.2.1-r0
cosign Alpine 3.23
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.2.1-r0
Actualiza a 2.2.1-r0
cosign Alpine 3.24
- Intervalos de versiones afectados
- ECOSYSTEM: < 2.2.1-r0
Actualiza a 2.2.1-r0