CVE-2024-41659 json
GHSL-2024-034: memos CORS Misconfiguration in server.go
published 2024-08-20 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-2620 , GHSA-p4fx-qf2h-jpmj , GO-2024-3088
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- securitylab.github.com https://securitylab.github.com/advisories/GHSL-2024-034_memos/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/usememos/memos | <0.21.0 |
0.21.0 |
Affected products
- usememos memos
Classification
- Weakness
-
- CWE-942 Permissive Cross-domain Security Policy with Untrusted Domains
References
-
github.com
/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9
web, patch
-
securitylab.github.com
/advisories/GHSL-2024-034_memos/
exploit, third-party-advisory
-
github.com
/usememos/memos/blob/v0.20.1/server/server.go#L163
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2024-41659
advisory
-
github.com
/usememos/memos
package
-
securitylab.github.com
/advisories/GHSL-2024-034_memos
advisory
-
github.com
/advisories/GHSA-p4fx-qf2h-jpmj
advisory
Sources
- CVE List CVE-2024-41659
- GitHub Advisory GHSA-p4fx-qf2h-jpmj
- NVD CVE-2024-41659
- OSV GO-2024-3088
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.