Advisory

GHSA-ghx2-6v4g-9wmm

Also known as: CVE-2022-4796, GO-2022-1236

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-12-28 15:30 UTC
Modified
2024-08-21 16:28 UTC

Affected packages and fixes

github.com/usememos/memos

Go · All systems

Affected

  • introduced 0, fixed 0.9.1 (semver)

Fixed versions

0.9.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences