HIGH7.8
GHSA-2v6v-q994-xvxx
Privilege escalation in beego
Quick fix
GHSA-2v6v-q994-xvxx — github.com/beego/beego/v2: upgrade to the fixed version with the command below.
go get github.com/beego/beego/v2@v2.0.2Details
beego is an open-source, high-performance web framework for the Go programming language. An issue was discovered in file profile.go in function GetCPUProfile in beego through 2.0.2, allows attackers to launch symlink attacks locally.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/beego/beego/v2
Introduced in:
2.0.0Fixed in: 2.0.2Fix
go get github.com/beego/beego/v2@v2.0.2Go/github.com/beego/beego
Introduced in:
0No fixed version published yet for github.com/beego/beego (go modules). Pin to a known-safe version or switch to an alternative.
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/beego/beego/v2"]}'