{"id":"CVE-2024-52602","aliases":["CVE-2024-52602","GHSA-r6jg-jfv6-2fjv","GO-2025-3399"],"related":[],"kind":"vulnerability","state":"published","title":"Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo","summary":"Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. Matrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions. This is fixed in MMR v1.3.8. Users are advised to upgrade. Restricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy and may provide a workaround for users unable to upgrade.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. Matrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions. This is fixed in MMR v1.3.8. Users are advised to upgrade. Restricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy and may provide a workaround for users unable to upgrade.","source":"cvelist"},{"lang":"en","text":"### 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","format":"markdown","source":"ghsa"},{"lang":"en","text":"Matrix Media Repo (MMR) allows Server-Side Request Forgery (SSRF) on redirects and federation in github.com/t2bot/matrix-media-repo","format":"markdown","source":"go"},{"lang":"es","text":"Matrix Media Repo (MMR) es un repositorio multimedia para múltiples servidores domésticos altamente configurable para Matrix. Matrix Media Repo (MMR) es vulnerable a server-side request forgery, ya que ofrece contenido desde una red privada a la que puede acceder, bajo ciertas condiciones. Esto se solucionó en MMR v1.3.8. Se recomienda a los usuarios que actualicen. Restringir los hosts a los que MMR puede contactar mediante reglas de firewall (locales) o un proxy transparente puede proporcionar un workaround para los usuarios que no pueden actualizar.","source":"nvd"}],"published":"2025-01-16T19:14:46.822Z","modified":"2026-06-17T08:07:31.890Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< 1.3.8","status":"affected"}],"vendor":"t2bot","product":"matrix-media-repo","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.8"}],"ecosystem":"Go","package":"github.com/t2bot/matrix-media-repo","purl":"pkg:golang/github.com/t2bot/matrix-media-repo","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.8"}],"ecosystem":"Go","package":"github.com/t2bot/matrix-media-repo","purl":"pkg:golang/github.com/t2bot/matrix-media-repo","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.8"}],"vendor":"t2bot","product":"matrix-media-repo","cpe":"cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjv","tags":["advisory","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://learn.snyk.io/lesson/ssrf-server-side-request-forgery","tags":["technical-description","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://owasp.org/www-community/attacks/Server_Side_Request_Forgery","tags":["technical-description","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang","tags":["technical-description","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52602","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/t2bot/matrix-media-repo","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3399","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-01-16T19:56:56.495Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-52602","url":"https://www.cve.org/CVERecord?id=CVE-2024-52602","licence":"CVE Terms of Use","modified":"2025-02-12T20:31:21.571Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r6jg-jfv6-2fjv","url":"https://github.com/advisories/GHSA-r6jg-jfv6-2fjv","licence":"CC-BY-4.0","modified":"2025-08-20T17:40:09.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3399","url":"https://pkg.go.dev/vuln/GO-2025-3399","licence":"CC-BY-4.0","modified":"2026-03-03T04:56:11.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-52602","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52602","licence":"Public domain","modified":"2026-06-17T08:07:31.890Z"}],"updatedAt":"2026-11-25T22:58:51.093Z","epss":{"score":0.00588,"percentile":0.49469,"date":"2026-12-01T12:00:22.000Z"}}