Advisory

GHSA-9cqm-mgv9-vv9j

Also known as: CVE-2024-29029, GO-2024-3049

Summary

memos vulnerable to Server-Side Request Forgery and Cross-site Scripting

Details

memos is a privacy-first, lightweight note-taking service. In memos 0.13.2, an SSRF vulnerability exists at the /o/get/image that allows unauthenticated users to enumerate the internal network and retrieve images. The response from the image request is then copied into the response of the current server request, causing a reflected XSS vulnerability. Version 0.22.0 of memos removes the vulnerable file.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-08-05 21:29 UTC
Modified
2024-08-06 23:11 UTC

Affected packages and fixes

github.com/usememos/memos

Go · All systems

Affected

  • introduced 0, fixed 0.22.0 (semver)

Fixed versions

0.22.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