Read the docs
TI-2024-24189 Aliases CVE-2024-36403GHSA-vc2m-hw89-qjxf

Denial of service/high operating costs through unauthenticated downloads in Matrix Media Repo

Priority MEDIUM 40CWE-770Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-770.

Summary

Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. MMR before version 1.3.5 is vulnerable to unbounded disk consumption, where an unauthenticated adversary can induce it to download and cache large amounts of remote media files. MMR's typical operating environment uses S3-like storage as a backend, with file-backed store as an alternative option. Instances using a file-backed store or those which self-host an S3 storage system are therefore vulnerable to a disk fill attack. Once the disk is full, authenticated users will be unable to upload new media, resulting in denial of service. For instances configured to use a cloud-based S3 storage option, this could result in high service fees instead of a denial of service. MMR 1.3.5 introduces a new default-on "leaky bucket" rate limit to reduce the amount of data a user can request at a time. This does not fully address the issue, but does limit an unauthenticated user's ability to request large amounts of data. Operators should note that the leaky bucket implementation introduced in MMR 1.3.5 requires the IP address associated with the request to be forwarded, to avoid mistakenly applying the rate limit to the reverse proxy instead. To avoid this issue, the reverse proxy should populate the X-Forwarded-For header when sending the request to MMR. Operators who cannot update may wish to lower the maximum file size they allow and implement harsh rate limits, though this can still lead to a large amount of data to be downloaded.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0071 53rd percentileScored 2026-11-07
Fix Fixed matrix-media-repo (t2bot): 1.3.5github.com/t2bot/matrix-media-repo (Go): 1.3.5

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
t2botmatrix-media-repobefore 1.3.51.3.5Patch availableCNA
—github.com/t2bot/matrix-media-repo (Go)before 1.3.51.3.5Patch availableGHSA-vc2m-hw89-qjxf
  • matrix-media-repo Vendort2bot Affected before 1.3.5 Fixed in 1.3.5 Patch available CNA
  • github.com/t2bot/matrix-media-repo (Go) Vendor— Affected before 1.3.5 Fixed in 1.3.5 Patch available GHSA-vc2m-hw89-qjxf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:*before 1.3.5Vulnerablet2bot
  • cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:* Versions before 1.3.5 Vulnerable ·t2bot

Remediation

  • Fix · CNA matrix-media-repo (t2bot) Fixed in 1.3.5
  • Fix · GHSA-vc2m-hw89-qjxf github.com/t2bot/matrix-media-repo (Go) Fixed in 1.3.5 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-36403
  2. 2026-10-03 Alias added: GHSA-vc2m-hw89-qjxf

References

  • TI-2024-24188 Unauthenticated writes to the media repository allow planting of problematic content in Matrix Media Repo CVSS 3.1MEDIUM 5.3
  • TI-2024-35262 Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo CVSS 3.1MEDIUM 5.3
  • TI-2024-35305 Denial of service through memory exhaustion in Matrix Media Repo CVSS 3.1HIGH 7.5
  • TI-2024-37402 Untrusted file formats can be thumbnailed, invoking potentially further untrusted decoders in Matrix Media Repo CVSS 3.1MEDIUM 6.8

Sources