Access Restriction Bypass Affecting github.com/usememos/memos/api package, versions <0.9.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.09% (40th 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-GITHUBCOMUSEMEMOSMEMOSAPI-3184943
  • published29 Dec 2022
  • disclosed29 Dec 2022
  • creditMohamed Abdelhady

Introduced: 29 Dec 2022

CVE-2022-4809  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/usememos/memos/api to version 0.9.1 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass via the user endpoint, which allows users to modify the usernames and email addresses of other users and thereby take over their accounts.

References

CVSS Scores

version 3.1