Skip to content

Privilege escalation in beego

High severity GitHub Reviewed Published Apr 6, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

gomod github.com/beego/beego (Go)

Affected versions

< 2.0.2

Patched versions

None
gomod github.com/beego/beego/v2 (Go)
>= 2.0.0, < 2.0.2
2.0.2

Description

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.

References

Published by the National Vulnerability Database Apr 5, 2022
Published to the GitHub Advisory Database Apr 6, 2022
Reviewed Apr 7, 2022
Last updated Jan 27, 2023

Severity

High
7.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

CVE-2021-27117

GHSA ID

GHSA-2v6v-q994-xvxx

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.