Amenazas en vivo

Todas las CVE / github.com/gorilla/csrf

CVE-2025-47909github.com/gorilla/csrf

Alta 7.3 Sin autenticación

Prioridad
59
CVSS 3.1
7.3
EPSS
—
Requiere autenticación
No
Publicada
29 ago 2025
Actualizada
19 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-346
SSVC (CISA)
Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Qué pasa

Hosts listed in TrustedOrigins implicitly allow requests from the corresponding HTTP origins, allowing network MitMs to perform CSRF attacks. After the CVE-2025-24358 fix, a network attacker that places a form at http://example.com can't get it to submit to https://example.com because the Origin header is checked with sameOrigin against a synthetic URL. However, if a host is added to TrustedOrigins, both its HTTP and HTTPS origins will be allowed, because the schema of the synthetic URL is ignored and only the host is checked. For example, if an application is hosted on https://example.com and adds example.net to TrustedOrigins, a network attacker can serve a form at http://example.net to perform the attack. Applications should migrate to net/http.CrossOriginProtection, introduced in Go 1.25. If that is not an option, a backport is available as a module at filippo.io/csrf, and a drop-in replacement for the github.com/gorilla/csrf API is available at filippo.io/csrf/gorilla.

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 github.com/gorilla/csrf.
  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/gorilla/csrf ≤ 1.7.3 sin versión corregida —
Go github.com/gorilla/csrf ≥ 1.7.3 sin versión corregida —

Según OSV / GitHub Advisories (GHSA-82ff-hg59-8x73, GO-2025-3884). 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.