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/advisories/GHSA-95f9-94vc-665h | |
https://github.com/beego/beego/issues/4961 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/advisories/GHSA-95f9-94vc-665h | |
https://github.com/beego/beego/issues/4961 | Exploit Issue Tracking Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 07:05
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/advisories/GHSA-95f9-94vc-665h - | |
References | () https://github.com/beego/beego/issues/4961 - Exploit, Issue Tracking, Patch, Third Party Advisory |
Information
Published : 2022-07-05 15:15
Updated : 2024-11-21 07:05
NVD link : CVE-2022-31836
Mitre link : CVE-2022-31836
CVE.ORG link : CVE-2022-31836
JSON object : View
Products Affected
beego
- beego
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')