GHSA-ghx2-6v4g-9wmm

Suggest an improvement
Source
https://github.com/advisories/GHSA-ghx2-6v4g-9wmm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-ghx2-6v4g-9wmm/GHSA-ghx2-6v4g-9wmm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-ghx2-6v4g-9wmm
Aliases
Published
2022-12-28T15:30:45Z
Modified
2023-11-08T04:11:01.218706Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H CVSS Calculator
Summary
usememos/memos makes Incorrect Use of Privileged APIs
Details

In usememos/memos 0.9.0 and prior, a user with login permission can delete all notes of the whole application via API DELETE https://demo.usememos.com/api/memo/$idnote. The vulnerability will lose all user notes data throughout the system, causing damage to user data.

References

Affected packages

Go / github.com/usememos/memos

Package

Name
github.com/usememos/memos
View open source insights on deps.dev
Purl
pkg:golang/github.com/usememos/memos

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.1

Database specific

{
    "last_known_affected_version_range": "<= 0.9.0"
}