Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| T2Bot | Matrix-Media-Repo | < 1.3.8 |
Related Weaknesses (CWE)
References
- https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8Release Notes
- https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-gp86-q8hg-fpVendor Advisory
FAQ
What is CVE-2024-52791?
CVE-2024-52791 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 lar...
How severe is CVE-2024-52791?
CVE-2024-52791 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-52791?
Check the references section above for vendor advisories and patch information. Affected products include: T2Bot Matrix-Media-Repo.