Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/beego/beego/v2
  4. ›
  5. CVE-2024-40465

CVE-2024-40465: Beego privilege escalation vulnerability

July 31, 2024 (updated August 1, 2024)

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.

References

  • gist.github.com/nyxfqq/a5a2fc5147a1b34538e1ac05a3e56910
  • github.com/advisories/GHSA-wr3p-r5fj-wf97
  • github.com/beego/beego
  • github.com/beego/beego/commit/5a366cd62b555354a917a2d153e6563fe4d6eb88
  • github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2
  • github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq
  • nvd.nist.gov/vuln/detail/CVE-2024-40465

Code Behaviors & Features

Detect and mitigate CVE-2024-40465 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.1

Fixed versions

  • 2.2.1

Solution

Upgrade to version 2.2.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm
  • CWE-328: Use of Weak Hash

Source file

go/github.com/beego/beego/v2/CVE-2024-40465.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.