GHSA-ffjp-66mx-3qpj
Privilege escalation in beego
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/beego/beego/v2 | >= 2.0.0, < 2.0.2 | 2.0.2 |
| Go | github.com/beego/beego | < 2.0.2 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.