github.com/beego/beego/v2
Affected
- introduced
0, fixed2.0.3(semver)
Fixed versions
2.0.3
Fix
- Fixed version
2.0.3go get github.com/beego/beego/[email protected]
Advisory
Also known as: CVE-2022-31259, GO-2022-0463
Access control bypass in beego
The route lookup process in beego prior to 1.12.9 and 2.x prior to 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).
Critical Basis: The source's own band: CRITICAL
0, fixed 2.0.3 (semver)2.0.3
2.0.3go get github.com/beego/beego/[email protected]0, fixed 1.12.9 (semver)1.12.9
1.12.9go get github.com/beego/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0