CVE-2024-52791
Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. MMR makes requests to other servers as part of normal operation, and these resource owners can return large amounts of JSON back to MMR for parsing. In parsing, MMR can consume large amounts of memory and exhaust available memory. This is fixed in MMR v1.3.8. Users are advised to upgrade. For users unable to upgrade; forward proxies can be configured to block requests to unsafe hosts. Alternatively, MMR processes can be configured with memory limits and auto-restart. Running multiple MMR processes concurrently can help ensure a restart does not overly impact users.
EPSS 0.76% · 53.3th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| t2bot | matrix-media-repo | < 1.3.8, 0, * |
| github.com | t2bot/matrix-media-repo | 0, 0 |
Timeline
- Jan 21, 1970 Security Advisory
- Jan 16, 2025 CVE Published
- Jan 16, 2025 PoC Published
- Jan 17, 2025 EPSS Score
- Feb 2, 2025 EPSS Score
- Feb 18, 2025 EPSS Score
- Mar 6, 2025 EPSS Score
- Mar 22, 2025 EPSS Score
- Apr 3, 2025 Coalition ESS Score
- Apr 7, 2025 EPSS Score
- Apr 23, 2025 EPSS Score
- May 9, 2025 EPSS Score
References
- https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8 fix
- https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-gp86-q8hg-fpxj advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-52791 advisory
- https://github.com/t2bot/matrix-media-repo package
- https://pkg.go.dev/vuln/GO-2025-3398 url