CVE-2022-31836
Path traversal in github.com/beego/beego and beego/v2
9.8
CRITICAL
CVSS 3.1
EPSS 0.45%
Description
The leafInfo.match() function uses path.join() to deal with wildcard values which can lead to cross directory risk.
How to fix CVE-2022-31836
To remediate CVE-2022-31836, upgrade the affected package to a fixed version below.
- Go/github.com/astaxie/beego—no fix listed
- Go/github.com/beego/beego—upgrade to 1.12.11 or later
- —upgrade to 1.12.11 or later
- —upgrade to 2.0.4 or later
- —upgrade to 2.0.4 or later
Is CVE-2022-31836 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0
- from 0, < 1.12.11
- from 0, < 1.12.11
- >= 2.0.0, < 2.0.4
- >= 2.0.0, < 2.0.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |