Amenazas en vivo

Todas las CVE / gin-contrib

CVE-2019-25211gin-contrib cors

Crítica 9.1 Sin autenticación

Prioridad
70
CVSS 3.1
9.1
EPSS
0.4%
probabilidad de explotación en 30 días · percentil 29
Requiere autenticación
No
Publicada
29 jun 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-346
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Qué pasa

parseWildcardRules in Gin-Gonic CORS middleware before 1.6.0 mishandles a wildcard at the end of an origin string, e.g., https://example.community/* is allowed when the intention is that only https://example.com/* should be allowed, and http://localhost.example.com/* is allowed when the intention is that only http://localhost/* should be allowed.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para cors.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
Go github.com/gin-contrib/cors < 1.6.0 1.6.0 go get github.com/gin-contrib/cors@v1.6.0
Go github.com/gin-contrib/cors < 1.6.0 1.6.0 go get github.com/gin-contrib/cors@v1.6.0
Go github.com/gin-gonic/gin < 1.6.0 1.6.0 go get github.com/gin-gonic/gin@v1.6.0

Según OSV / GitHub Advisories (GHSA-869c-j7wc-8jqv, GO-2024-2955). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.