HIGH8.8
GHSA-wr3p-r5fj-wf97
Beego privilege escalation vulnerability
Quick fix
GHSA-wr3p-r5fj-wf97 — github.com/beego/beego/v2: upgrade to the fixed version with the command below.
go get github.com/beego/beego/v2@v2.2.1Details
An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the `getCacheFileName` function in the `file.go` file.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/beego/beego/v2
Introduced in:
0Fixed in: 2.2.1Fix
go get github.com/beego/beego/v2@v2.2.1References
- https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-40465[ADVISORY]
- https://github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88[WEB]
- https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2[WEB]
- https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910[WEB]
- https://github.com/beego/beego[PACKAGE]