{
  "id": "GO-2022-0572",
  "published": "2022-08-22T17:56:17Z",
  "modified": "2022-08-23T19:54:38Z",
  "aliases": [
    "CVE-2021-30080",
    "GHSA-28r6-jm5h-mrgg"
  ],
  "details": "An issue was discovered in the route lookup process in\nbeego which attackers to bypass access control.\n",
  "affected": [
    {
      "package": {
        "name": "github.com/beego/beego",
        "ecosystem": "Go"
      },
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "database_specific": {
        "url": "https://pkg.go.dev/vuln/GO-2022-0572"
      },
      "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.3"
            }
          ]
        }
      ],
      "database_specific": {
        "url": "https://pkg.go.dev/vuln/GO-2022-0572"
      },
      "ecosystem_specific": {
        "imports": [
          {
            "path": "github.com/beego/beego/v2/server/web",
            "symbols": [
              "Tree.Match"
            ]
          }
        ]
      }
    }
  ],
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/beego/beego/pull/4459"
    },
    {
      "type": "FIX",
      "url": "https://github.com/beego/beego/commit/d5df5e470d0a8ed291930ae802fd7e6b95226519"
    },
    {
      "type": "WEB",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-30080"
    },
    {
      "type": "WEB",
      "url": "https://github.com/advisories/GHSA-28r6-jm5h-mrgg"
    }
  ]
}