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

CVE-2024-36402: matrix-media-repo (MMR) allows unauthenticated writes to the media repository, which may allow planting of problematic content

January 16, 2025 (updated January 17, 2025)

MMR before version 1.3.5 allows, by design, unauthenticated remote participants to trigger a download and caching of remote media from a remote homeserver to the local media repository. Such content then also becomes available for download from the local homeserver in an unauthenticated way. The implication is that unauthenticated remote adversaries can use this functionality to plant problematic content into the media repository.

References

  • github.com/advisories/GHSA-8vmr-h7h5-cqhg
  • github.com/matrix-org/matrix-spec-proposals/pull/3916
  • github.com/t2bot/matrix-media-repo
  • github.com/t2bot/matrix-media-repo/security/advisories/GHSA-8vmr-h7h5-cqhg
  • nvd.nist.gov/vuln/detail/CVE-2024-36402
  • pkg.go.dev/vuln/GO-2025-3397

Code Behaviors & Features

Detect and mitigate CVE-2024-36402 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-287: Improper Authentication

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

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