CVE-2024-29030
MEDIUM5.8EPSS 4.6%memos vulnerable to Server-Side Request Forgery in /api/resource
Published: 8/5/2024Modified: 8/6/2024
Description
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 (2)
- Go/github.com/usememos/memosfrom 0, < 0.22.0
- Go/github.com/usememos/memosfrom 0, < 0.22.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-65fm-2jgr-j7qq
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-29030
- ADVISORYhttps://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos
- PATCHhttps://github.com/usememos/memos
- WEBhttps://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/resource.go#L83
- WEBhttps://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5