CVE-2022-31259

Source
https://cve.org/CVERecord?id=CVE-2022-31259
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31259.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31259
Aliases
Related
Published
2022-05-21T19:15:52.990Z
Modified
2026-04-02T08:03:32.120068Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The route lookup process in beego before 1.12.9 and 2.x before 2.0.3 allows attackers to bypass access control. When a /p1/p2/:name route is configured, attackers can access it by appending .xml in various places (e.g., p1.xml instead of p1).

References

Affected packages

Git / github.com/beego/beedoc

Affected ranges

Type
GIT
Repo
https://github.com/beego/beedoc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "2.0.0"
        },
        {
            "last_affected": "2.0.2"
        }
    ]
}
Type
GIT
Repo
https://github.com/beego/beego
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.12.4"
        }
    ]
}

Affected versions

v0.*
v0.6.0
v0.7.0
v0.8.0
v0.9.0
v1.*
v1.0.1
v1.10.0
v1.10.1
v1.11.0
v1.11.1
v1.12.0
v1.12.1
v1.12.2
v1.12.3
v1.12.4
v1.2.0
v1.3.0
v1.4.0
v1.4.1
v1.4.2
v1.4.3
v1.5.0
v1.6.0
v1.6.1
v1.7.0
v1.7.1
v1.7.2
v1.8.0
v1.8.1
v1.8.2
v1.8.3
v1.9.0
v1.9.2
v2.*
v2.0.0
v2.0.0-beta
v2.0.1
v2.0.2
v2.0.2-beta.1
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.0.7
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.1.6
v2.2.0
v2.2.1
v2.2.2
v2.3.0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.3.6
v2.3.7
v2.3.8
v2.3.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31259.json"