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

EcosystemPackageFixed inAdvisory
Gogithub.com/astaxie/beegono fix listedGO-2022-0569
Gogithub.com/beego/beego1.12.11GO-2022-0569
Gogithub.com/beego/beego1.12.11GHSA-95f9-94vc-665h
Gogithub.com/beego/beego/v22.0.4GO-2022-0569
Gogithub.com/beego/beego/v22.0.4GHSA-95f9-94vc-665h

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References