Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-gp86-q8hg-fpxj: 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.

ghsa
#dos#js#git
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2024-52791

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

Package

gomod github.com/t2bot/matrix-media-repo (Go)

Affected versions

<= 1.3.7

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.

References

  • GHSA-gp86-q8hg-fpxj
  • https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8

Published to the GitHub Advisory Database

Jan 16, 2025

ghsa: Latest News

GHSA-4ff6-858j-r822: Gomatrixserverlib Server-Side Request Forgery (SSRF) on redirects and federation