CVE-2024-21495Greenpau Caddy-security
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Greenpau · Greenpau Caddy-security Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.0% probabilidad de explotación en 30 días · percentil 61
- Requiere autenticación
- No
- Publicada
- 17 feb 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-330
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
Versions of the package github.com/greenpau/caddy-security before 1.0.42 are vulnerable to Insecure Randomness due to using an insecure random number generation library which could possibly be predicted via a brute-force search. Attackers could use the potentially predictable nonce value used for authentication purposes in the OAuth flow to conduct OAuth replay attacks. In addition, insecure randomness is used while generating multifactor authentication (MFA) secrets and creating API keys in the database package.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Caddy-security.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/greenpau/caddy-security |
≤ 1.0.42 |
sin versión corregida | — |
| Go | github.com/greenpau/caddy-security |
todas |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-c7vf-m394-m4x4, GO-2024-2565). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| greenpau | caddy-security | < 1.0.42 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- blog.trailofbits.com Third Party Advisory
- github.com Issue Tracking
- github.com Patch
- security.snyk.io Third Party Advisory