github.com/t2bot/matrix-media-repo
Affected
- introduced
0, fixed1.3.8(semver)
Fixed versions
1.3.8
Fix
- Fixed version
1.3.8go get github.com/t2bot/[email protected]
Advisory
Also known as: CVE-2024-52791, GO-2025-3398
matrix-media-repo (MMR) allows a denial of service through memory exhaustion
Impact
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.
Patches
This is fixed in MMR v1.3.8.
Workarounds
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.3.8 (semver)1.3.8
1.3.8go get github.com/t2bot/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0