CVE-2022-31836
CRITICAL9.8EPSS 0.45%Path Traversal in Beego
發布日:2022/7/6修改日:2026/3/13
描述
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.
受影響套件(5)
- Go/github.com/astaxie/beegofrom 0
- Go/github.com/beego/beegofrom 0, < 1.12.11
- Go/github.com/beego/beegofrom 0, < 1.12.11
- Go/github.com/beego/beego/v2>= 2.0.0, < 2.0.4
- Go/github.com/beego/beego/v2>= 2.0.0, < 2.0.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(7)
- ADVISORYhttps://github.com/advisories/GHSA-95f9-94vc-665h
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-31836
- PATCHhttps://github.com/beego/beego
- WEBhttps://github.com/beego/beego/issues/4961
- WEBhttps://github.com/beego/beego/pull/5025
- WEBhttps://github.com/beego/beego/pull/5025/commits/ea5ae58d40589d249cf577a053e490509de2bf57
- WEBhttps://pkg.go.dev/vuln/GO-2022-0569