CVE-2024-52594 Server-Side Request Forgery (SSRF) on redirects and federation in gomatrixserverlib
MediumCVSS 4.3
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Network Appliances
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.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/dendrite(Alpine v3.21) | < 0.14.1-r0 | 0.14.1-r0 | Fixed |
| alpine/dendrite(Alpine v3.22) | < 0.14.1-r0 | 0.14.1-r0 | Fixed |
| alpine/dendrite(Alpine v3.23) | < 0.14.1-r0 | 0.14.1-r0 | Fixed |
| alpine/dendrite(Alpine v3.24) | < 0.14.1-r0 | 0.14.1-r0 | Fixed |
| matrix-org github.com/matrix-org/gomatrixserverlib(Go) | < 0.0.0-20250116181547-c4f1e01eab0d; <= 0.0.0-20250106190028-bf86bc98b879 | 0.0.0-20250116181547-c4f1e01eab0d | Fixed |
| matrix-org github.com/matrix-org/gomatrixserverlib | = < c4f1e01eab0dd435709ad15463ed38a079ad6128 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| matrix-org github.com/matrix-org/gomatrixserverlib(Go) | < 0.0.0-20250116181547-c4f1e01eab0d | 0.0.0-20250116181547-c4f1e01eab0d |
| matrix-org github.com/matrix-org/gomatrixserverlib(Go) | <= 0.0.0-20250106190028-bf86bc98b879 | No fix listed |
| matrix-org github.com/matrix-org/gomatrixserverlib | = < c4f1e01eab0dd435709ad15463ed38a079ad6128 | No fix listed |
| alpine/dendrite(Alpine:v3.21) | < 0.14.1-r0 | 0.14.1-r0 |
| alpine/dendrite(Alpine:v3.22) | < 0.14.1-r0 | 0.14.1-r0 |
| alpine/dendrite(Alpine:v3.23) | < 0.14.1-r0 | 0.14.1-r0 |
| alpine/dendrite(Alpine:v3.24) | < 0.14.1-r0 | 0.14.1-r0 |
References
- https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-4ff6-858j-r822 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/matrix-org/gomatrixserverlib/commit/c4f1e01eab0dd435709ad15463ed38a079ad6128 patch
- github.com product
- pkg.go.dev
- github.com
- security.alpinelinux.org vendor-advisory