~ / search / GHSA-ffjp-66mx-3qpj

GHSA-ffjp-66mx-3qpj

Privilege escalation in beego

Source: GitHub Advisory Database (reviewed) High CVE-2021-27116

Packages

EcosystemPackageAffectedFixed 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.