CVE-2024-40464 json
Beego privilege escalation vulnerability
published 2024-07-31 2 y ago modified 2026-09-10 1 mo ago also GHSA-r6qh-j42j-pw64 , GO-2024-3016 , EUVD-2024-2410
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
An issue in beego v.2.2.0 and before allows a remote attacker to escalate privileges via the sendMail function located in beego/core/logs/smtp.go file
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.57% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/beego/beego/v2 | <2.2.1 |
2.2.1 |
Affected products
- beego beego
Classification
References
-
github.com
/beego/beego/commit/8f89e12e6cafb106d5c201dbc3b2a338bfde74e2
web, patch
-
gist.github.com
/nyxfqq/b53b0148b9aa040de63f58a68fd11445
web, third-party-advisory
-
github.com
/beego/beego/security/advisories/GHSA-6g9p-wv47-4fxq
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-40464
advisory
-
github.com
/beego/beego
package
-
github.com
/advisories/GHSA-r6qh-j42j-pw64
advisory
Sources
- CVE List CVE-2024-40464
- GitHub Advisory GHSA-r6qh-j42j-pw64
- NVD CVE-2024-40464
- OSV GO-2024-3016
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.