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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.21 | dendrite | 0.14.1-r0 | ALPINE-CVE-2024-52594 |
| Alpine:v3.22 | dendrite | 0.14.1-r0 | ALPINE-CVE-2024-52594 |
| Alpine:v3.23 | dendrite | 0.14.1-r0 | ALPINE-CVE-2024-52594 |
| Alpine:v3.24 | dendrite | 0.14.1-r0 | ALPINE-CVE-2024-52594 |
| Go | github.com/matrix-org/gomatrixserverlib | 0.0.0-20250116181547-c4f1e01eab0d | GHSA-4ff6-858j-r822 |
| Go | github.com/matrix-org/gomatrixserverlib | 0.0.0-20250116181547-c4f1e01eab0d | GO-2025-3396 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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