Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1ncDg2LXE4aGctZnB4as4ABDcT
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.
Permalink: https://github.com/advisories/GHSA-gp86-q8hg-fpxjJSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1ncDg2LXE4aGctZnB4as4ABDcT
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 1 day ago
Updated: 37 minutes ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Percentage: 0.00043
EPSS Percentile: 0.1136
Identifiers: GHSA-gp86-q8hg-fpxj, CVE-2024-52791
References:
- https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-gp86-q8hg-fpxj
- https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8
- https://nvd.nist.gov/vuln/detail/CVE-2024-52791
- https://pkg.go.dev/vuln/GO-2025-3398
- https://github.com/advisories/GHSA-gp86-q8hg-fpxj
Blast Radius: 1.0
Affected Packages
go:github.com/t2bot/matrix-media-repo
Dependent packages: 0Dependent repositories: 0
Downloads:
Affected Version Ranges: <= 1.3.7
Fixed in: 1.3.8
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.2.7, 1.2.8, 1.2.9, 1.2.10, 1.2.11, 1.2.12, 1.2.13, 1.3.0, 1.3.1, 1.3.2, 1.3.3, 1.3.4, 1.3.5, 1.3.6, 1.3.7
All unaffected versions: