CVE-2024-52791

Medium

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.

SeverityMedium
CVSS5.3
Exploit probability—
ProductT2bot Matrix-media-repo
PublishedJan 16, 2025
First seenJan 16, 2025
Weakness typeCWE-789CWE-789

How to fix

Update
  • t2bot matrix-media-repo1.3.8 or later
  • github.com/t2bot/matrix-media-repo1.3.8 or later

Affected products

ProductAffected versionsFixed in
t2bot matrix-media-repov < 1.3.81.3.8
github.com/t2bot/matrix-media-repoGov < 1.3.81.3.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-52791 · T2bot Matrix-media-repo · Dark Radar