Skip to main content
← All vulnerabilities
CVE-2022-31836GO-2022-0569GHSA-95F9-94VC-665H

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.11, 2.0.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • github.com/astaxie/beegoGo

    All versions

  • github.com/beego/beegoGo

    fixed in 1.12.11

  • github.com/beego/beego/v2Go

    From 2.0.0 · fixed in 2.0.4

References 2

GitHub · beego/beego

GitHub Advisory Database