Amenazas en vivo

Todas las CVE / Gofiber

CVE-2023-41338Gofiber Fiber

Media 5.3 Sin autenticación

Prioridad
47
CVSS 3.1
5.3
EPSS
0.8%
probabilidad de explotación en 30 días · percentil 51
Requiere autenticación
No
Publicada
8 sep 2023
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-670
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:N/A:N

Qué pasa

Fiber is an Express inspired web framework built in the go language. Versions of gofiber prior to 2.49.2 did not properly restrict access to localhost. This issue impacts users of our project who rely on the `ctx.IsFromLocal` method to restrict access to localhost requests. If exploited, it could allow unauthorized access to resources intended only for localhost. Setting `X-Forwarded-For: 127.0.0.1` in a request from a foreign host, will result in true for `ctx.IsFromLocal`. Access is limited to the scope of the affected process. This issue has been patched in version `2.49.2` with commit `b8c9ede6`. Users are advised to upgrade. There are no known workarounds to remediate this vulnerability without upgrading to the patched version.

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 Fiber.
  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/gofiber/fiber ≤ 1.14.6 sin versión corregida —
Go github.com/gofiber/fiber/v2 < 2.49.2 2.49.2 go get github.com/gofiber/fiber/v2@v2.49.2
Go github.com/gofiber/fiber/v2 < 2.49.2-0.20230906112033-b8c9ede6efa2 2.49.2-0.20230906112033-b8c9ede6efa2 go get github.com/gofiber/fiber/v2@v2.49.2-0.20230906112033-b8c9ede6efa2

Según OSV / GitHub Advisories (GHSA-3q5p-3558-364f, GO-2023-2052). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gofiberfiber< 2.49.2

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.