GHSA-95f9-94vc-665h
Dashboard / Vulnerabilities / GHSA-95f9-94vc-665h
GHSA-95f9-94vc-665h
Published: 6 Jul 2022Last Modified: 8 Jul 2026
Aliases:
Summary: Path Traversal in Beego
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2022-31836, https://github.com/beego/beego/issues/4961, https://github.com/beego/beego/pull/5025, https://github.com/beego/beego/pull/5025/commits/ea5ae58d40589d249cf577a053e490509de2bf57, https://github.com/advisories/GHSA-95f9-94vc-665h, https://github.com/beego/beego, https://pkg.go.dev/vuln/GO-2022-0569
Affected packages
Package
Name: github.com/beego/beego
Purl: pkg:golang/github.com/beego/beego
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -1.12.11
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
