Advisory

GHSA-p4fx-qf2h-jpmj

Also known as: CVE-2024-41659, GO-2024-3088

Summary

memos CORS Misconfiguration in server.go (GHSL-2024-034)

Details

memos is a privacy-first, lightweight note-taking service. A CORS misconfiguration exists in memos 0.20.1 and earlier where an arbitrary origin is reflected with Access-Control-Allow-Credentials set to true. This may allow an attacking website to make a cross-origin request, allowing the attacker to read private information or make privileged changes to the system as the vulnerable user account.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-08-22 17:18 UTC
Modified
2024-08-30 17:42 UTC

Affected packages and fixes

github.com/usememos/memos

Go · All systems

Affected

  • introduced 0, fixed 0.21.0 (semver)

Fixed versions

0.21.0

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