CVE-2022-31836
Path Traversal in Beego
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA.
Descripción
The leafInfo.match() function in Beego v2.0.3 and below uses path.join() to deal with wildcardvalues which can lead to cross directory risk.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/beego/beego, github.com/beego/beego/v2 | 1.12.11 y 1 más |
Mostrar las 2 entradas de 1 fuente
| Fuente | Paquete | Corregido en |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/beego/beego | 1.12.11 |
| go::GitHub Security Advisory Go | github.com/beego/beego/v2 | 2.0.4 |
Referencias
- https://github.com/advisories/GHSA-95f9-94vc-665h
- https://github.com/beego/beego
- https://github.com/beego/beego/issues/4961
- https://github.com/beego/beego/pull/5025
- https://github.com/beego/beego/pull/5025/commits/ea5ae58d40589d249cf577a053e490509de2bf57
- https://nvd.nist.gov/vuln/detail/CVE-2022-31836
- https://pkg.go.dev/vuln/GO-2022-0569