CVE-2022-31836: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
(updated )
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
Detect and mitigate CVE-2022-31836 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →