GitHub Advisoryadvisory · Go

GHSA-p4fx-qf2h-jpmj memos CORS Misconfiguration in server.go (GHSL-2024-034)

HIGH Published 2024-08-22 Modified 2024-08-22 Official page ↗
Aliases
CVE-2024-41659
Ecosystem
Go
Packages
github.com/usememos/memos
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weaknesses
CWE-942
Reviewed
2024-08-22

Affected packages

• Go github.com/usememos/memos: < 0.21.0 → fixed in 0.21.0

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-41659 memos is a privacy-first, lightweight note-taking service. vulnerability

Weakness · CWE (1)

  • CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains weakness

References