high8.8
CVE-2024-40465
Beego privilege escalation vulnerability
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/beego/beego/v2 | < 2.2.1 | 2.2.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Beego | Beego | before 2.2.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910
- https://github.com/advisories/GHSA-wr3p-r5fj-wf97
- https://nvd.nist.gov/vuln/detail/CVE-2024-40465
- https://github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq
- https://github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88
- https://github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2