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

CVE-2024-40464: 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 sendMail function located in the beego/core/logs/smtp.go file.

References

  • gist.github.com/nyxfqq/b53b0148b9aa040de63f58a68fd11445
  • github.com/advisories/GHSA-r6qh-j42j-pw64
  • github.com/beego/beego
  • github.com/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2
  • github.com/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq
  • nvd.nist.gov/vuln/detail/CVE-2024-40464

Code Behaviors & Features

Detect and mitigate CVE-2024-40464 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-295: Improper Certificate Validation

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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