| { |
| "id": "GO-2022-0569", |
| "published": "2022-08-23T13:24:17Z", |
| "modified": "2022-08-23T13:24:17Z", |
| "aliases": [ |
| "CVE-2022-31836", |
| "GHSA-95f9-94vc-665h" |
| ], |
| "details": "The leafInfo.match() function uses path.join()\nto deal with wildcard values which can lead to cross directory risk.\n", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/beego/beego", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0" |
| }, |
| { |
| "fixed": "1.12.11" |
| } |
| ] |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2022-0569" |
| }, |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/beego/beego", |
| "symbols": [ |
| "Tree.Match" |
| ] |
| } |
| ] |
| } |
| }, |
| { |
| "package": { |
| "name": "github.com/beego/beego/v2", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "2.0.0" |
| }, |
| { |
| "fixed": "2.0.4" |
| } |
| ] |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2022-0569" |
| }, |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/beego/beego/v2/server/web", |
| "symbols": [ |
| "Tree.Match" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "FIX", |
| "url": "https://github.com/beego/beego/pull/5025" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/beego/beego/pull/5025/commits/ea5ae58d40589d249cf577a053e490509de2bf57" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31836" |
| }, |
| { |
| "type": "WEB", |
| "url": "https://github.com/advisories/GHSA-95f9-94vc-665h" |
| } |
| ] |
| } |