Vulnerability · Published Jul 5, 2022 · Assigned by mitre
CVE-2022-31836
Critical 9.8
In plain English
A critical-severity security flaw in the github.com/astaxie/beego package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)1.7%top 23.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/astaxie/beego | no fix listed | GO-2022-0569 |
| Go | github.com/beego/beego | 1.12.11 | GO-2022-0569 |
| Go | github.com/beego/beego | 1.12.11 | GHSA-95f9-94vc-665h |
| Go | github.com/beego/beego/v2 | 2.0.4 | GO-2022-0569 |
| Go | github.com/beego/beego/v2 | 2.0.4 | GHSA-95f9-94vc-665h |