CVE-2024-52602
Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
5.0
Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo
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.
- Record
CVE-2024-52602- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
EUVDEUVD-2025-0103
5.0
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.
- Record
EUVD-2025-0103- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-r6jg-jfv6-2fjv
5.0
Matrix Media Repo (MMR) allows Server-Side Request Forgery (SSRF) on redirects and federation
Impact
Matrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions.
Patches
This is fixed in MMR v1.3.8.
Workarounds
Restricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy.
References
https://owasp.org/www-community/attacks/Server_Side_Request_Forgery https://learn.snyk.io/lesson/ssrf-server-side-request-forgery/ https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang
- Record
GHSA-r6jg-jfv6-2fjv- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
NVD
5.0
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.
- Record
CVE-2024-52602- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N - CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
OSV
5.0
Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo
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.
- Record
CVE-2024-52602- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
OSVGHSA-r6jg-jfv6-2fjv
5.0
Matrix Media Repo (MMR) allows Server-Side Request Forgery (SSRF) on redirects and federation
Impact
Matrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions.
Patches
This is fixed in MMR v1.3.8.
Workarounds
Restricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy.
References
https://owasp.org/www-community/attacks/Server_Side_Request_Forgery https://learn.snyk.io/lesson/ssrf-server-side-request-forgery/ https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang
- Record
GHSA-r6jg-jfv6-2fjv- CVSS 3.1
- 5.0 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N - Weakness
- CWE-918
- Updated
- 2026-11-02
OSVGO-2025-3399 No score
Matrix Media Repo (MMR) allows Server-Side Request Forgery (SSRF) on redirects and federation in github.com/t2bot/matrix-media-repo
Matrix Media Repo (MMR) allows Server-Side Request Forgery (SSRF) on redirects and federation in github.com/t2bot/matrix-media-repo
- Record
GO-2025-3399- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:14704-1 No score
govulncheck-vulndb-0.0.20250117T214834-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250117T214834-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:14704-1- Updated
- 2026-11-02
OSVSUSE-SU-2025:0297-1 No score
Security update for govulncheck-vulndb
This update for govulncheck-vulndb fixes the following issues:
-
Update to version 0.0.20250128T150132 2025-01-28T15:01:32Z. Refs jsc#PED-11136 Go CVE Numbering Authority IDs added or updated with aliases:
- GO-2025-3409 CVE-2025-23208 GHSA-c9p4-xwr9-rfhx
- GO-2025-3410 CVE-2025-24337 GHSA-3qc3-mx6x-267h
- GO-2025-3413 CVE-2025-0377 GHSA-wpfp-cm49-9m9q
- GO-2025-3414 CVE-2024-11218 GHSA-5vpc-35f4-r8w6
- GO-2025-3415 CVE-2025-23028 GHSA-9m5p-c77c-f9j7
- GO-2025-3416 CVE-2025-23047 GHSA-h78m-j95m-5356
- GO-2025-3418 CVE-2025-24030 GHSA-j777-63hf-hx76
- GO-2025-3419 CVE-2025-24355 GHSA-v34r-vj4r-38j6
- GO-2025-3422 CVE-2025-24354
-
Update to version 0.0.20250128T004730 2025-01-28T00:47:30Z. Refs jsc#PED-11136 Go CVE Numbering Authority IDs added or updated with aliases:
- GO-2025-3372 CVE-2024-45339
- GO-2025-3373 CVE-2024-45341
- GO-2025-3383 CVE-2024-45340
- GO-2025-3420 CVE-2024-45336
- GO-2025-3421 CVE-2025-22865
-
Update to version 0.0.20250117T214834 2025-01-17T21:48:34Z. Refs jsc#PED-11136 Go CVE Numbering Authority IDs added or updated with aliases:
- GO-2025-3392 CVE-2025-20086 GHSA-5m7j-6gc4-ff5g
- GO-2025-3393 CVE-2025-21088 GHSA-8j3q-gc9x-7972
- GO-2025-3394 CVE-2025-20088 GHSA-45v9-w9fh-33j6
- GO-2025-3396 CVE-2024-52594
- GO-2025-3397 CVE-2024-36402 GHSA-8vmr-h7h5-cqhg
- GO-2025-3398 CVE-2024-52791 GHSA-gp86-q8hg-fpxj
- GO-2025-3399 CVE-2024-52602 GHSA-r6jg-jfv6-2fjv
- GO-2025-3400 CVE-2024-56515 GHSA-rcxc-wjgw-579r
- GO-2025-3401 CVE-2024-36403 GHSA-vc2m-hw89-qjxf
- GO-2025-3407 CVE-2025-20621 GHSA-w6xh-c82w-h997
-
Update to version 0.0.20250115T172141 2025-01-15T17:21:41Z. Refs jsc#PED-11136 Go CVE Numbering Authority IDs added or updated with aliases:
- GO-2025-3381 CVE-2024-56138 GHSA-45v3-38pc-874v
- GO-2025-3382 CVE-2024-51491 GHSA-qjh3-4j3h-vmwp
- GO-2025-3384 CVE-2024-56323 GHSA-32q6-rr98-cjqv
- GO-2025-3390 CVE-2024-53263 GHSA-q6r2-x2cc-vrp7
- GO-2025-3391 CVE-2024-52281 GHSA-2v2w-8v8c-wcm9
-
Update to version 0.0.20250109T194159 2025-01-09T19:41:59Z. Refs jsc#PED-11136 Go CVE Numbering Authority IDs added or updated with aliases:
- GO-2025-3376 CVE-2025-22149 GHSA-675f-rq2r-jw82
- GO-2025-3377 CVE-2025-22449 GHSA-q8fg-cp3q-5jwm
- GO-2025-3379 CVE-2025-20033 GHSA-2549-xh72-qrpm
- GO-2025-3380 CVE-2025-22445 GHSA-7rgp-4j56-fm79
- Record
SUSE-SU-2025:0297-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/t2bot/matrix-media-repoGo |
through 1.3.7 | 1.3.8 |
github.com/t2bot/matrix-media-repoGo |
before 1.3.8 | 1.3.8 |
govulncheck-vulndbSUSE:Linux Enterprise Module for Package Hub 15 SP6 From an advisory covering 33 CVEs |
before 0.0.20250128T150132-150000.1.29.1 | 0.0.20250128T150132-150000.1.29.1 |
govulncheck-vulndbopenSUSE:Leap 15.6 From an advisory covering 33 CVEs |
before 0.0.20250128T150132-150000.1.29.1 | 0.0.20250128T150132-150000.1.29.1 |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 10 CVEs |
before 0.0.20250117T214834-1.1 | 0.0.20250117T214834-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-52602 is a medium vulnerability (CVSS 5.0) in T2bot Matrix-media-repo, published January 16, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.59%, the 48th percentile. Fixed in github.com/t2bot/matrix-media-repo 1.3.8.
References
github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjv
github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8
learn.snyk.io/lesson/ssrf-server-side-request-forgery
owasp.org/www-community/attacks/Server_Side_Request_Forgery
agwa.name/blog/post/preventing_server_side_request_forgery_in_golang
nvd.nist.gov/vuln/detail/CVE-2024-52602
Show 38 moreShow less
pkg.go.dev/vuln/GO-2025-3399
github.com/advisories/GHSA-r6jg-jfv6-2fjv
github.com/CVEProject/cvelistV5/tree/main/cves/2024/52xxx/CVE-2024-52602.json
github.com/t2bot/matrix-media-repo
suse.com/support/update/announcement/2025/suse-su-20250297-1
suse.com/security/cve/CVE-2024-11218
suse.com/security/cve/CVE-2024-36402
suse.com/security/cve/CVE-2024-36403
suse.com/security/cve/CVE-2024-45336
suse.com/security/cve/CVE-2024-45339
suse.com/security/cve/CVE-2024-45340
suse.com/security/cve/CVE-2024-45341
suse.com/security/cve/CVE-2024-51491
suse.com/security/cve/CVE-2024-52281
suse.com/security/cve/CVE-2024-52594
suse.com/security/cve/CVE-2024-52602
suse.com/security/cve/CVE-2024-52791
suse.com/security/cve/CVE-2024-53263
suse.com/security/cve/CVE-2024-56138
suse.com/security/cve/CVE-2024-56323
suse.com/security/cve/CVE-2024-56515
suse.com/security/cve/CVE-2025-0377
suse.com/security/cve/CVE-2025-20033
suse.com/security/cve/CVE-2025-20086
suse.com/security/cve/CVE-2025-20088
suse.com/security/cve/CVE-2025-20621
suse.com/security/cve/CVE-2025-21088
suse.com/security/cve/CVE-2025-22149
suse.com/security/cve/CVE-2025-22445
suse.com/security/cve/CVE-2025-22449
suse.com/security/cve/CVE-2025-22865
suse.com/security/cve/CVE-2025-23028
suse.com/security/cve/CVE-2025-23047
suse.com/security/cve/CVE-2025-23208
suse.com/security/cve/CVE-2025-24030
suse.com/security/cve/CVE-2025-24337
suse.com/security/cve/CVE-2025-24354
suse.com/security/cve/CVE-2025-24355