Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-31836 EUVD-2022-6301GHSA-95f9-94vc-665hGO-2022-0569

Path Traversal in Beego

Published Jul 5, 2022 · Updated Aug 3, 2024 · Assigned by mitre

Description

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

EcosystemPackageAffectedFixedRecord
Go github.com/astaxie/beego all versions — GO-2022-0569
Go github.com/beego/beego < 1.12.11 1.12.11 GHSA-95f9-94vc-665h
Go github.com/beego/beego/v2 >= 2.0.0, < 2.0.4 2.0.4 GHSA-95f9-94vc-665h

References