CVE-2023-41338Gofiber Fiber
Media 5.3 Sin autenticación
Seguir: esta CVE · Gofiber · Gofiber Fiber Te avisamos por email o Slack (requiere cuenta).
- 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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Fiber.
- 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/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)
| Fabricante | Producto | Versiones |
|---|---|---|
| gofiber | fiber | < 2.49.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- developer.mozilla.org Technical Description
- docs.gofiber.io Product
- github.com Patch
- github.com Vendor Advisory