ADVISORIES

GitHub Advisory Database

GHSA-95f9-94vc-665h

Path Traversal in Beego

Details

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

EcosystemPackageAffected versions
Gogithub.com/beego/beego
All versions before 1.12.11 (fixed in 1.12.11)
Gogithub.com/beego/beego/v2
From 2.0.0 before 2.0.4 (fixed in 2.0.4)

References