Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/t2bot/matrix-media-repo
  4. ›
  5. CVE-2024-36403

CVE-2024-36403: matrix-media-repo (MMR) allows denial of service/high operating costs through unauthenticated downloads

January 16, 2025 (updated January 17, 2025)

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.

References

  • en.wikipedia.org/wiki/Leaky_bucket
  • github.com/advisories/GHSA-vc2m-hw89-qjxf
  • github.com/t2bot/matrix-media-repo
  • github.com/t2bot/matrix-media-repo/security/advisories/GHSA-vc2m-hw89-qjxf
  • nvd.nist.gov/vuln/detail/CVE-2024-36403
  • pkg.go.dev/vuln/GO-2025-3401

Code Behaviors & Features

Detect and mitigate CVE-2024-36403 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.5

Fixed versions

  • 1.3.5

Solution

Upgrade to version 1.3.5 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/t2bot/matrix-media-repo/CVE-2024-36403.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.