GitHub Advisoryadvisory · Go
GHSA-4ff6-858j-r822 Gomatrixserverlib Server-Side Request Forgery (SSRF) on redirects and federation
MEDIUM
Official page ↗
- Aliases
- CVE-2024-52594
- Ecosystem
- Go
- Packages
- github.com/matrix-org/gomatrixserverlib
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-918
- Reviewed
- 2025-01-16
Affected packages
• Go github.com/matrix-org/gomatrixserverlib: < 0.0.0-20250116181547-c4f1e01eab0d → fixed in 0.0.0-20250116181547-c4f1e01eab0d
Description
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
Related
Alias · CVE (1)
- CVE-2024-52594 Gomatrixserverlib is a Go library for matrix federation. vulnerability
Weakness · CWE (1)
- CWE-918 Server-Side Request Forgery weakness
References
- https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-4ff6-858j-r822 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-52594 advisory
- https://github.com/matrix-org/gomatrixserverlib/commit/c4f1e01eab0dd435709ad15463ed38a079ad6128 web
- https://github.com/matrix-org/gomatrixserverlib package
- https://pkg.go.dev/vuln/GO-2025-3396 web