NetSight
high7.8

CVE-2021-27116

Privilege escalation in beego

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/beego/beego/v2>= 2.0.0, < 2.0.22.0.2
gogithub.com/beego/beego< 2.0.2none recorded

Affected products

VendorProductAffected versions
BeegoBeego
through 2.0.2

Weakness classification

References