Skip to content
OpenAdvisories
Medium · 4.3 CVE-2024-52594 EUVD-2025-0090GHSA-4ff6-858j-r822GO-2025-3396

Server-Side Request Forgery (SSRF) on redirects and federation in gomatrixserverlib

Published Jan 16, 2025 · Updated Feb 12, 2025 · Assigned by GitHub_M

Description

Gomatrixserverlib is a Go library for matrix federation. Gomatrixserverlib is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions. The commit `c4f1e01` fixes this issue. Users are advised to upgrade. Users unable to upgrade should use a local firewall to limit the network segments and hosts the service using gomatrixserverlib can access.

Affected products

VendorProductAffectedFixed
matrix-org gomatrixserverlib < c4f1e01eab0dd435709ad15463ed38a079ad6128 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES 15 SP6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250117T214834-1.1 openSUSE-SU-2025:14704-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20250128T150132-150000.1.29.1 SUSE-SU-2025:0297-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dendrite 0.14.1-r0 —
Alpine v3.23 dendrite 0.14.1-r0 —
Alpine v3.22 dendrite 0.14.1-r0 —
Alpine v3.21 dendrite 0.14.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/matrix-org/gomatrixserverlib < 0.0.0-20250116181547-c4f1e01eab0d 0.0.0-20250116181547-c4f1e01eab0d GHSA-4ff6-858j-r822

Advisories 2

References