VulnerabilityModified
CVE-2022-31836
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.
CRITICAL 9.8EPSS 1.62%
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.62%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.62% probability · 75th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- beego/beego
- Source
- cve@mitre.org
References
- https://github.com/advisories/GHSA-95f9-94vc-665h
- https://github.com/beego/beego/issues/4961Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/advisories/GHSA-95f9-94vc-665h
- https://github.com/beego/beego/issues/4961Exploit, Issue Tracking, Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.