Access Restriction Bypass Affecting github.com/flipped-aurora/gin-vue-admin/server/api/v1/system package, versions <2.5.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMFLIPPEDAURORAGINVUEADMINSERVERAPIV1SYSTEM-2397351
  • published10 Feb 2022
  • disclosed10 Feb 2022
  • creditUnknown

Introduced: 10 Feb 2022

CVE-2022-21660  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade github.com/flipped-aurora/gin-vue-admin/server/api/v1/system to version 2.5.0 or higher.

Overview

github.com/flipped-aurora/gin-vue-admin/server/api/v1/system is a full-stack front-end and back-end separation development platform based on vue and gin development. It integrates jwt authentication, dynamic routing, dynamic menu, cabin authentication, form generator, code generator, and other functions. A variety of sample files, allows you to focus more time on business development

Affected versions of this package are vulnerable to Access Restriction Bypass due to missing authentication validation on the setUserInfo function, low privilege users are able to modify higher privilege users.

References

CVSS Scores

version 3.1