Improper Privilege Management Affecting github.com/usememos/memos/api package, versions <0.9.1


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.1% (43rd 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 Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSAPI-3184971
  • published29 Dec 2022
  • disclosed29 Dec 2022
  • creditAnil Bhatt

Introduced: 29 Dec 2022

CVE-2022-4808  (opens in a new tab)
CWE-269  (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 Improper Privilege Management due to missing server-side validation on the role parameter, by allowing an attacker to add a new member with the HOST role.

References

CVSS Scores

version 3.1