Advisory

GHSA-gp86-q8hg-fpxj

Also known as: CVE-2024-52791, GO-2025-3398

Summary

matrix-media-repo (MMR) allows a denial of service through memory exhaustion

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-01-16 19:07 UTC
Modified
2025-08-20 17:40 UTC

Affected packages and fixes

github.com/t2bot/matrix-media-repo

Go · All systems

Affected

  • introduced 0, fixed 1.3.8 (semver)

Fixed versions

1.3.8

Fix

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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences