Vulnerability · Published Jan 16, 2025 · Assigned by GitHub_M

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

Medium 4.3

In plain English

A medium-severity server-side request forgery in gomatrixserverlib from matrix-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 29% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.4%top 70.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21dendrite0.14.1-r0ALPINE-CVE-2024-52594
Alpine:v3.22dendrite0.14.1-r0ALPINE-CVE-2024-52594
Alpine:v3.23dendrite0.14.1-r0ALPINE-CVE-2024-52594
Alpine:v3.24dendrite0.14.1-r0ALPINE-CVE-2024-52594
Gogithub.com/matrix-org/gomatrixserverlib0.0.0-20250116181547-c4f1e01eab0dGHSA-4ff6-858j-r822
Gogithub.com/matrix-org/gomatrixserverlib0.0.0-20250116181547-c4f1e01eab0dGO-2025-3396

Affected products (as reported)

VendorProductVersions
matrix-org gomatrixserverlib < c4f1e01eab0dd435709ad15463ed38a079ad6128

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References