{"schema_version":"1.7.3","id":"GHSA-r6jg-jfv6-2fjv","published":"2025-01-16T19:35:02Z","modified":"2025-08-20T17:40:09Z","aliases":["CVE-2024-52602","GO-2025-3399"],"summary":"Matrix Media Repo (MMR) allows Server-Side Request Forgery (SSRF) on redirects and federation","details":"### Impact\nMatrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions.\n\n### Patches\nThis is fixed in [MMR v1.3.8](https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8).\n\n### Workarounds\nRestricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy.\n\n### References\nhttps://owasp.org/www-community/attacks/Server_Side_Request_Forgery\nhttps://learn.snyk.io/lesson/ssrf-server-side-request-forgery/\nhttps://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang","affected":[{"package":{"name":"github.com/t2bot/matrix-media-repo","ecosystem":"Go","purl":"pkg:golang/github.com/t2bot/matrix-media-repo"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.3.8"}]}],"database_specific":{"last_known_affected_version_range":"<= 1.3.7","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-r6jg-jfv6-2fjv/GHSA-r6jg-jfv6-2fjv.json"}}],"references":[{"type":"WEB","url":"https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52602"},{"type":"PACKAGE","url":"https://github.com/t2bot/matrix-media-repo"},{"type":"WEB","url":"https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8"},{"type":"WEB","url":"https://learn.snyk.io/lesson/ssrf-server-side-request-forgery"},{"type":"WEB","url":"https://owasp.org/www-community/attacks/Server_Side_Request_Forgery"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2025-3399"},{"type":"WEB","url":"https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang"}],"database_specific":{"cwe_ids":["CWE-918"],"github_reviewed":true,"github_reviewed_at":"2025-01-16T19:35:02Z","nvd_published_at":"2025-01-16T20:15:32Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"}]}