GitHub Advisory Database
GHSA-ffjp-66mx-3qpj
Privilege escalation in beego
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/beego/beego/v2 | From 2.0.0 before 2.0.2 (fixed in 2.0.2) |
| Go | github.com/beego/beego | All versions, no fix listed |