CVE-2024-36403: matrix-media-repo (MMR) allows denial of service/high operating costs through unauthenticated downloads
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.48544%
CWE
Published
1/16/2025
Updated
1/17/2025
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/t2bot/matrix-media-repo | go | < 1.3.5 | 1.3.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unauthenticated users being able to trigger unlimited media downloads. The core issue would exist in the download request handling logic (first function) that doesn't enforce rate limits, and the media caching implementation (second function) that stores these downloads without proper resource constraints. The patch introduced a leaky bucket rate limiter which would likely be applied to these components. While exact function names aren't specified in available documentation, these are typical patterns for media repository implementations.