Vulnerability · Published Apr 19, 2024 · Assigned by GitHub_M
CVE-2024-29030memos vulnerable to an SSRF in /api/resource
Medium 5.8
In plain English
A medium-severity server-side request forgery in memos from usememos. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.8Medium
Exploit odds (30 days)1.1%top 33.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Nuclei
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/usememos/memos | 0.22.0 | GHSA-65fm-2jgr-j7qq |
| Go | github.com/usememos/memos | 0.22.0 | GO-2024-3046 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
References
- https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos/ x_refsource_CONFIRM
- https://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5 x_refsource_MISC
- https://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/resource.go#L83 x_refsource_MISC