Server-Side Request Forgery (SSRF) on redirects and federation in gomatrixserverlib
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| matrix-org | gomatrixserverlib | < c4f1e01eab0dd435709ad15463ed38a079ad6128 | — | No fix listed | CNA |
| — | github.com/matrix-org/gomatrixserverlib (Go) | before 0.0.0-20250116181547-c4f1e01eab0d | 0.0.0-20250116181547-c4f1e01eab0d | Patch available | GHSA-4ff6-858j-r822 |
- gomatrixserverlib Vendormatrix-org Affected < c4f1e01eab0dd435709ad15463ed38a079ad6128 Fixed in — No fix listed CNA
- github.com/matrix-org/gomatrixserverlib (Go) Vendor— Affected before 0.0.0-20250116181547-c4f1e01eab0d Fixed in 0.0.0-20250116181547-c4f1e01eab0d Patch available GHSA-4ff6-858j-r822
Remediation
- Fix · GHSA-4ff6-858j-r822 github.com/matrix-org/gomatrixserverlib (Go) Fixed in 0.0.0-20250116181547-c4f1e01eab0d Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-52594
- 2026-10-03 Alias added: GHSA-4ff6-858j-r822
References
More matrix-org vulnerabilities
- TI-2023-20035 Sydent does not verify email server certificates CVSS 3.1CRITICAL 9.3
- TI-2026-45046 Dendrite 0.13.8 SSRF via Unauthenticated Legacy Media Download Endpoint CVSS 4.0MEDIUM 6.9
- TI-2026-45045 Dendrite 0.13.8 Improper Authorization via POST account/3pid/delete Endpoint CVSS 4.0HIGH 7.1
- TI-2026-45047 Dendrite 0.13.8 syncapi /context Endpoint Post-Leave State Exposure CVSS 4.0MEDIUM 5.3
- TI-2023-15617 Synapse Outgoing federation to specific hosts can be disabled by sending malicious invites CVSS 3.1MEDIUM 5.0
- TI-2023-20039 matrix-appservice-irc IRC command injection via admin commands containing newlines CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-52594 · CVE Program
- CVE-2024-52594 · NVD
- FIRST EPSS
- GHSA-4ff6-858j-r822 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences