CVE-2024-52594: Gomatrixserverlib Server-Side Request Forgery (SSRF) on redirects and federation
Impact Gomatrixserverlib is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions. Patches c4f1e01eab0dd435709ad15463ed38a079ad6128 fixes this issue. Workarounds Use a local firewall to limit the network segments and hosts the service using gomatrixserverlib can access. References N/A
Published Jan 16, 2025 · Updated Jan 17, 2025
Affected packages
github.com/matrix-org/gomatrixserverlib
- Ecosystem
- Go
- Affected
- <= 0.0.0-20250106190028-bf86bc98b879
- Fixed in
- 0.0.0-20250116181547-c4f1e01eab0d
- Check
go list -m github.com/matrix-org/gomatrixserverlib
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
Gomatrixserverlib is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions.
Patches
c4f1e01eab0dd435709ad15463ed38a079ad6128 fixes this issue.
Workarounds
Use a local firewall to limit the network segments and hosts the service using gomatrixserverlib can access.
References
N/A
References
- https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-4ff6-858j-r822
- https://nvd.nist.gov/vuln/detail/CVE-2024-52594
- https://github.com/matrix-org/gomatrixserverlib/commit/c4f1e01eab0dd435709ad15463ed38a079ad6128
- https://pkg.go.dev/vuln/GO-2025-3396
- https://github.com/advisories/GHSA-4ff6-858j-r822
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
