CVE-2021-27116
7.8high
Privilege escalation in beego
- Severity
- 7.8high CVSS:3.1 by mitre
- Exploit likelihood
- 0.44% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-ffjp-66mx-3qpj
Description
An issue was discovered in file profile.go in function MemProf in beego through 2.0.2, allows attackers to launch symlink attacks locally.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/beego/beego/v2 (Go) | from 2.0.0 before 2.0.2 | GitHub Advisory Database |
| github.com/beego/beego (Go) | all versions | GitHub Advisory Database |
| beego beego | up to 2.0.2 | NVD |
All scores
| mitre | 7.8high CVSS:3.1 | CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N |
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
An issue was discovered in file profile.go in function MemProf in beego through 2.0.2, allows attackers to launch symlink attacks locally.
GitHub Advisory Database
An issue was discovered in file profile.go. The MemProf and GetCPUProfile functions do not correctly check whether the created file exists. As a result attackers can launch attacks symlink attacks locally. Attackers can use this vulnerability to escalate privileges.
NVD (es)
Se ha detectado un problema en el archivo profile.go en la función MemProf en beego versiones hasta 2.0.2, que permite a atacantes lanzar ataques symlink localmente
References
| https://github.com/beego/beego/issues/4484 | exploit, issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-27116 | advisory | |
| https://github.com/beego/beego | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27116 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-ffjp-66mx-3qpj changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-27116 changed 2026-06-17 | Public domain |