CVE-2022-31836

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
Link Resource
https://github.com/advisories/GHSA-95f9-94vc-665h
https://github.com/beego/beego/issues/4961 Exploit Issue Tracking Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*

History

24 Feb 2023, 20:15

Type Values Removed Values Added
References
  • (MISC) https://github.com/advisories/GHSA-95f9-94vc-665h -

14 Jul 2022, 11:59

Type Values Removed Values Added
CWE CWE-22
References (MISC) https://github.com/beego/beego/issues/4961 - (MISC) https://github.com/beego/beego/issues/4961 - Exploit, Issue Tracking, Patch, Third Party Advisory
CPE cpe:2.3:a:beego:beego:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8

05 Jul 2022, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-07-05 15:15

Updated : 2024-02-04 22:51


NVD link : CVE-2022-31836

Mitre link : CVE-2022-31836

CVE.ORG link : CVE-2022-31836


JSON object : View

Products Affected

beego

  • beego
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')