8.1high
GHSL-2024-034: memos CORS Misconfiguration in server.go
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.64% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-p4fx-qf2h-jpmjGO-2024-3088
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. This vulnerability is fixed in 0.21.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| usememos memos | < 0.21.0, up to 0.20.1, before 0.21.0 | CVE List, NVD |
| github.com/usememos/memos (Go) | before 0.21.0 | GitHub Advisory Database, Go Vulnerability Database |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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. This vulnerability is fixed in 0.21.0.
GitHub Advisory Database
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.
Go Vulnerability Database
memos CORS Misconfiguration in server.go (GHSL-2024-034) in github.com/usememos/memos
NVD (es)
Memos es un servicio de toma de notas liviano y que prioriza la privacidad. Existe una configuración incorrecta de CORS en memos 0.20.1 y versiones anteriores donde se refleja un origen arbitrario con Access-Control-Allow-Credentials establecido en verdadero. Esto puede permitir que un sitio web atacante realice una solicitud de origen cruzado, lo que le permite leer información privada o realizar cambios privilegiados en el sistema como cuenta de usuario vulnerable.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-41659 changed 2025-01-09 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-p4fx-qf2h-jpmj changed 2024-08-30 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2024-3088 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2024-41659 changed 2026-06-17 | Public domain |