CVE-2024-41659
HIGH 8.1CVSS 3.1memos CORS Misconfiguration in server.go (GHSL-2024-034)
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.
- Published
- 20 Aug 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-942
- Also known as
- GHSA-p4fx-qf2h-jpmjGO-2024-3088
- Sources
- NVDJSONOSV GHSA-p4fx-qf2h-jpmjJSONOSV GO-2024-3088JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | usememos | memoscpe:2.3:a:usememos:memos:*:*:*:*:*:*:*:* |
< 0.21.0 | 0.21.0 |
| OSV | Go | github.com/usememos/memos | < 0.21.0 | 0.21.0 |
References
- https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163 · Product, WEB
- https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9 · Patch, WEB, FIX
- https://securitylab.github.com/advisories/GHSL-2024-034_memos/ · Exploit, Third Party Advisory, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2024-41659 · ADVISORY
- https://github.com/usememos/memos · PACKAGE
- https://github.com/advisories/GHSA-p4fx-qf2h-jpmj · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 20 Aug 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Aug 2024)