CVE-2024-41659 GHSL-2024-034: memos CORS Misconfiguration in server.go
HighCVSS 8.1
EPSS 0.64%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| usememos github.com/usememos/memos | < 0.21.0; <= 0.20.1; = < 0.21.0 | 0.21.0 | Fixed |
| usememos github.com/usememos/memos(Go) | < 0.21.0 | 0.21.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| usememos github.com/usememos/memos(Go) | < 0.21.0 | 0.21.0 |
| usememos github.com/usememos/memos | = < 0.21.0 | No fix listed |
| usememos github.com/usememos/memos | <= 0.20.1 | No fix listed |
| usememos github.com/usememos/memos | < 0.21.0 | 0.21.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/usememos/memos/commit/8101a5e0b162044c16385bee4f12a4a653d050b9 patch
- github.com product
- https://github.com/usememos/memos/blob/v0.20.1/server/server.go#L163 product
- https://securitylab.github.com/advisories/GHSL-2024-034_memos/ exploit third-party-advisory vendor-advisory
- github.com vendor-advisory