CVE-2021-27116
Privilege escalation in beego
7.8
HIGH
CVSS 3.1
EPSS 0.16%
Description
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.
How to fix CVE-2021-27116
To remediate CVE-2021-27116, upgrade the affected package to a fixed version below.
- —no fix listed
- —upgrade to 2.0.2 or later
Is CVE-2021-27116 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0
- >= 2.0.0, < 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |