PT-2022-20952 · Beego · Beego

Runner361

·

Published

2022-07-05

·

Updated

2023-02-24

·

CVE-2022-31836

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Beego versions 2.0.3 and below
Description The leafInfo.match() function uses path.join() to deal with wildcard values, which can lead to cross directory risk. This issue affects the Beego framework, potentially allowing unauthorized access to files or directories.
Recommendations For Beego versions 2.0.3 and below, consider disabling the leafInfo.match() function until a patch is available. Restrict access to sensitive files and directories to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Weakness Enumeration

Related Identifiers

CVE-2022-31836
GHSA-95F9-94VC-665H
GO-2022-0569

Affected Products

Beego