CVE-2021-27116
vulnerability analysis and mitigation

Overview

An issue was discovered in file profile.go in function MemProf in beego through version 2.0.2, which allows attackers to launch symlink attacks locally. The vulnerability was identified and assigned CVE-2021-27116, affecting the admin module of the Beego framework (NVD, GitHub Issue).

Technical details

The vulnerability exists in the profile.go file, specifically in the MemProf and GetCPUProfile functions. These functions fail to properly validate whether created files already exist, which can lead to symlink attacks. The issue has been assigned a CVSS v3.1 Base Score of 7.8 (HIGH) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability allows local attackers to perform symlink attacks, potentially leading to unauthorized file access and modification. The high CVSS score indicates that successful exploitation could result in significant impact on the confidentiality, integrity, and availability of the affected system (NVD).

Mitigation and workarounds

The vulnerability affects beego versions through 2.0.2. Users should upgrade to a patched version of the framework when available (NVD).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management