CVE-2022-31259
Access control bypass in beego
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, GHSA.
Beschreibung
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).
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/beego/beego, github.com/beego/beego/v2 | 1.12.9 und 1 weitere |
Alle 2 Einträge aus 1 Quelle zeigen
| Quelle | Paket | Behoben in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/beego/beego | 1.12.9 |
| go::GitHub Security Advisory Go | github.com/beego/beego/v2 | 2.0.3 |
Referenzen
- https://beego.vip
- https://github.com/advisories/GHSA-qx32-f6g6-fcfr
- https://github.com/beego/beego
- https://github.com/beego/beego/commit/228576173a236c81a2122923fcf8099ad294e009
- https://github.com/beego/beego/commit/64cf44d725c8cc35d782327d333df9cbeb1bf2dd
- https://github.com/beego/beego/issues/4946
- https://github.com/beego/beego/pull/4954
- https://github.com/beego/beego/pull/4958