Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1yNmpnLWpmdjYtMmZqds4ABDcU

Matrix Media Repo (MMR) allows Server-Side Request Forgery (SSRF) on redirects and federation

Impact

Matrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions.

Patches

This is fixed in MMR v1.3.8.

Workarounds

Restricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy.

References

https://owasp.org/www-community/attacks/Server_Side_Request_Forgery
https://learn.snyk.io/lesson/ssrf-server-side-request-forgery/
https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang

Permalink: https://github.com/advisories/GHSA-r6jg-jfv6-2fjv
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1yNmpnLWpmdjYtMmZqds4ABDcU
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 1 day ago
Updated: about 1 hour ago


CVSS Score: 5.0
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

EPSS Percentage: 0.00062
EPSS Percentile: 0.28715

Identifiers: GHSA-r6jg-jfv6-2fjv, CVE-2024-52602
References: Repository: https://github.com/t2bot/matrix-media-repo
Blast Radius: 1.0

Affected Packages

go:github.com/t2bot/matrix-media-repo
Dependent packages: 0
Dependent 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: