{"id":"GHSA-65fm-2jgr-j7qq","summary":"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.","aliases":["CVE-2024-29030","GO-2024-3046"],"modified":"2024-08-06T23:12:44.190289Z","published":"2024-08-05T21:29:24Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-08-05T21:29:24Z","nvd_published_at":"2024-04-19T15:15:50Z","cwe_ids":["CWE-918"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29030"},{"type":"WEB","url":"https://github.com/usememos/memos/commit/bbd206e8930281eb040cc8c549641455892b9eb5"},{"type":"PACKAGE","url":"https://github.com/usememos/memos"},{"type":"WEB","url":"https://github.com/usememos/memos/blob/06dbd8731161245444f4b50f4f9ed267f7c3cf63/api/v1/resource.go#L83"},{"type":"ADVISORY","url":"https://securitylab.github.com/advisories/GHSL-2023-154_GHSL-2023-156_memos"}],"affected":[{"package":{"name":"github.com/usememos/memos","ecosystem":"Go","purl":"pkg:golang/github.com/usememos/memos"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.22.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-65fm-2jgr-j7qq/GHSA-65fm-2jgr-j7qq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}