CVE-2022-31259Beego
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Beego · Beego Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.5% probabilidad de explotación en 30 días · percentil 75
- Requiere autenticación
- No
- Publicada
- 21 may 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to bypass access control. When a /p1/p2/:name route is configured, attackers can access it by appending .xml in various places (e.g., p1.xml instead of p1).
Qué hacer
- Aplica la actualización de seguridad del fabricante para Beego.
- 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/astaxie/beego |
todas |
sin versión corregida | — |
| Go | github.com/beego/beego |
< 1.12.9 |
1.12.9 |
go get github.com/beego/beego@v1.12.9 |
| Go | github.com/beego/beego |
< 1.12.9 |
1.12.9 |
go get github.com/beego/beego@v1.12.9 |
| Go | github.com/beego/beego/v2 |
< 2.0.3 |
2.0.3 |
go get github.com/beego/beego/v2@v2.0.3 |
| Go | github.com/beego/beego/v2 |
< 2.0.3 |
2.0.3 |
go get github.com/beego/beego/v2@v2.0.3 |
Según OSV / GitHub Advisories (GO-2022-0463, GHSA-qx32-f6g6-fcfr). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| beego | beego | ≤ 1.12.4 |
| beego | beego | ≥ 2.0.0 ≤ 2.0.2 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- beego.vip Product
- github.com
- github.com Exploit Issue Tracking Patch
- github.com Release Notes Third Party Advisory