GitHub Advisory Database
GHSA-65fm-2jgr-j7qq
memos vulnerable to Server-Side Request Forgery in /api/resource
Details
memos is a privacy-first, lightweight note-taking service. In memos 0.13.2, an SSRF vulnerability exists at the /api/resource that allows authenticated users to enumerate the internal network. Version 0.22.0 of memos removes the vulnerable file.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/usememos/memos | All versions before 0.22.0 (fixed in 0.22.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-29030
- https://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5
- https://github.com/usememos/memos
- https://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/resource.go#L83
- https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos