CVE-2022-31836

CRITICAL

beego < 2.0.3 and 1.12.0-1.12.11 and 2.0.0-2.0.3 - Path Traversal via leafInfo.match()

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Exploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/beego/beego/issues/4961

Scores

CVSS v3 9.8
EPSS 0.0125
EPSS Percentile 65.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-22
Status published
Products (3)
beego/beego < 2.0.3
beego/beego 0 - 1.12.11Go
beego/beego 2.0.0 - 2.0.4Go
Published Jul 05, 2022
Tracked Since Feb 18, 2026