CVE-2021-27116
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
github.com/beego/beego/v2 (Go)from 2.0.0 before 2.0.2GitHub Advisory Database
github.com/beego/beego (Go)all versionsGitHub Advisory Database
beego beegoup to 2.0.2NVD

All scores

mitre7.8high CVSS:3.1CVSS:3.1/AC:L/AV:L/A:H/C:H/I:H/PR:L/S:U/UI:N
GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.2high CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-27116 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-ffjp-66mx-3qpj changed 2023-11-08CC-BY-4.0
NVDCVE-2021-27116 changed 2026-06-17Public domain