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
2024-08-21T16:28:34.185010Z
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.

Database specific
{
    "nvd_published_at": "2022-12-28T14:15:00Z",
    "github_reviewed_at": "2022-12-30T19:48:54Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-648"
    ]
}
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"
}