Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/beego/beego/v2
  4. ›
  5. CVE-2021-27117

CVE-2021-27117: Improper Link Resolution Before File Access ('Link Following')

April 6, 2022 (updated April 15, 2022)

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

  • github.com/advisories/GHSA-2v6v-q994-xvxx
  • github.com/beego/beego/issues/4484
  • nvd.nist.gov/vuln/detail/CVE-2021-27117

Code Behaviors & Features

Detect and mitigate CVE-2021-27117 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.2

Fixed versions

  • v2.0.2

Solution

Upgrade to version 2.0.2 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

go/github.com/beego/beego/v2/CVE-2021-27117.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.