{"id":"CVE-2022-31836","state":"PUBLISHED","title":"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.","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.","publishedAt":"2022-07-05T00:00:00.000Z","updatedAt":"2024-08-03T07:26:01.106Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://github.com/beego/beego/issues/4961","https://github.com/advisories/GHSA-95f9-94vc-665h"],"weaknesses":[],"ingestedAt":"2026-10-29T19:50:06.617Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/31xxx/CVE-2022-31836.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-31836","state":"PUBLISHED","datePublished":"2022-07-05T00:00:00.000Z","dateUpdated":"2024-08-03T07:26:01.106Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-05-31T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://github.com/beego/beego/issues/4961"},{"url":"https://github.com/advisories/GHSA-95f9-94vc-665h"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-02-24T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/beego/beego/issues/4961","tags":["x_transferred"]},{"url":"https://github.com/advisories/GHSA-95f9-94vc-665h","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T07:26:01.106Z"}}]}}}