ADVISORIES

Go Vulnerability Database

GO-2022-0569

Path traversal in github.com/beego/beego and beego/v2

Details

The leafInfo.match() function uses path.join() to deal with wildcard values which can lead to cross directory risk.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/astaxie/beego
All versions, no fix listed
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