CVE-2020-15111Gofiber Fiber
Media 5.4 Sin autenticación
Seguir: esta CVE · Gofiber · Gofiber Fiber Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 47
- CVSS 3.1
- 5.4
- EPSS
- 0.9% probabilidad de explotación en 30 días · percentil 60
- Requiere autenticación
- No
- Publicada
- 20 jul 2020
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Qué pasa
In Fiber before version 1.12.6, the filename that is given in c.Attachment() (https://docs.gofiber.io/ctx#attachment) is not escaped, and therefore vulnerable for a CRLF injection attack. I.e. an attacker could upload a custom filename and then give the link to the victim. With this filename, the attacker can change the name of the downloaded file, redirect to another site, change the authorization header, etc. A possible workaround is to serialize the input before passing it to ctx.Attachment().
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.12.6 |
1.12.6 |
go get github.com/gofiber/fiber@v1.12.6 |
| Go | github.com/gofiber/fiber |
< 1.12.6 |
1.12.6 |
go get github.com/gofiber/fiber@v1.12.6 |
Según OSV / GitHub Advisories (GHSA-9cx9-x2gp-9qvh, GO-2021-0108). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| gofiber | fiber | < 1.12.6 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory