NetSight
critical9.8

CVE-2022-31836

Path Traversal in Beego

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/beego/beego< 1.12.111.12.11
gogithub.com/beego/beego/v2>= 2.0.0, < 2.0.42.0.4

Affected products

VendorProductAffected versions
BeegoBeego
through 2.0.3

Weakness classification

References