~ / search / GHSA-95f9-94vc-665h

GHSA-95f9-94vc-665h

Path Traversal in Beego

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-31836

Packages

EcosystemPackageAffectedFixed in
Go github.com/beego/beego < 1.12.11 1.12.11
Go github.com/beego/beego/v2 >= 2.0.0, < 2.0.4 2.0.4

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.