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
Link | Resource |
---|---|
https://github.com/beego/beego/issues/4961 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/advisories/GHSA-95f9-94vc-665h |
Configurations
Information
Published : 2022-07-05 08:15
Updated : 2023-02-24 12:15
NVD link : CVE-2022-31836
Mitre link : CVE-2022-31836
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
beego
- beego