CVE-2022-31836: beego Path Traversal
CVSS: 9.8v3.1CriticalModified
AliasesGHSA-95f9-94vc-665hGO-2022-0569
Published 05-07-2022Last modified 03-08-2024
Vulnerability summary
CVE-2022-31836 is a critical (CVSS 9.8) Path Traversal vulnerability in beego. EPSS estimates a 1.66% chance of exploitation in the next 30 days, higher than 76.3% of scored vulnerabilities. 1 public exploit is recorded.
CVSS score
9.8/10
010
Critical · v3.1 (NVD)EPSS score
1.66%
0%100%
Low · +0.05 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github
Timeline
- 05-07-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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 metrics
3 scores · 2 sources · 2 versionsCritical 9.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HSourcesAll 2 agree
- OSV · GoEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
High 7.5Preferred score · NVD (NIST)
AV:N/AC:L/Au:N/C:P/I:P/A:PSourcesSingle source
EPSS trend
Probability
1.66%
Chance of exploitation in the next 30 days
Percentile
76%
Versus all other CVEs
30-day change
+0.05 pp
From 1.62% on 19-09-2026
19-09-202619-10-2026
EPSS score1.66%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundBeego
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Beego1 product
- beego≤ 2.0.3
Github.com/astaxie1 product
- beegoAll versions (No fix recorded)
Github.com/beego1 product
- beego< 1.12.11
Github.com/beego/beego1 product
- v2≥ 2.0.0, < 2.0.4
4 vendors · 4 products
References
7 links- github.com/beego/beegoPACKAGE