GO-2022-0463
Dashboard / Vulnerabilities / GO-2022-0463
GO-2022-0463
Published: 1 Jul 2022Last Modified: 3 Jun 2024
Aliases:
Summary: Access control bypass due to broad route matching in github.com/beego/beego and beego/v2
Details: Routes in the beego HTTP router can match unintended patterns. This overly-broad matching may permit an attacker to bypass access controls. For example, the pattern "/a/b/:name" can match the URL "/a.xml/b/". This may bypass access control applied to the prefix "/a/".
References: https://github.com/beego/beego/pull/4958, https://github.com/beego/beego/commit/64cf44d725c8cc35d782327d333df9cbeb1bf2dd, https://github.com/beego/beego/issues/4946, https://github.com/beego/beego/pull/4954
Affected packages
Package
Name: github.com/astaxie/beego
Purl: pkg:golang/github.com/astaxie/beego
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
