Moderate severityNVD Advisory· Published Jan 16, 2025· Updated Feb 12, 2025
Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo
CVE-2024-52602
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/t2bot/matrix-media-repoGo | < 1.3.8 | 1.3.8 |
Affected products
5- ghsa-coords4 versionspkg:golang/github.com/t2bot/matrix-media-repopkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/govulncheck-vulndb&distro=openSUSE%20Tumbleweedpkg:rpm/suse/govulncheck-vulndb&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP6
< 1.3.8+ 3 more
- (no CPE)range: < 1.3.8
- (no CPE)range: < 0.0.20250128T150132-150000.1.29.1
- (no CPE)range: < 0.0.20250117T214834-1.1
- (no CPE)range: < 0.0.20250128T150132-150000.1.29.1
- t2bot/matrix-media-repov5Range: < 1.3.8
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-r6jg-jfv6-2fjvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-52602ghsaADVISORY
- github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8ghsax_refsource_MISCWEB
- github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjvghsax_refsource_CONFIRMWEB
- learn.snyk.io/lesson/ssrf-server-side-request-forgeryghsax_refsource_MISCWEB
- owasp.org/www-community/attacks/Server_Side_Request_Forgeryghsax_refsource_MISCWEB
- pkg.go.dev/vuln/GO-2025-3399ghsaWEB
- www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golangghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.