Advisory

GHSA-ffjp-66mx-3qpj

Also known as: CVE-2021-27116

Summary

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-04-06 00:01 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

github.com/beego/beego/v2

Go · All systems

Affected

  • introduced 2.0.0, fixed 2.0.2 (semver)

Fixed versions

2.0.2

Fix

github.com/beego/beego

Go · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences