CVE-2024-52594 json
Server-Side Request Forgery (SSRF) on redirects and federation in gomatrixserverlib
published last yr. modified 4mo ago also EUVD-2025-0090 , GHSA-4ff6-858j-r822 , GO-2025-3396
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/matrix-org/gomatrixserverlib 0.0.0-20250116181547-c4f1e01eab0d
- matrix gomatrixserverlib 0.0.0-20250116181547-c4f1e01eab0d
- govulncheck-vulndb SLE Module for Package Hub 15 SP6, openSUSE Leap 15.6 0.0.20250128T150132-150000.1.29.1
suse advisories SUSE-SU-2025:0297-1
- govulncheck-vulndb openSUSE Tumbleweed 0.0.20250117T214834-1.1
opensuse advisories openSUSE-SU-2025:14704-1
- dendrite Alpine 3.24, Alpine 3.23, Alpine 3.22 +1 more 0.14.1-r0
alpine advisories ALPINE-CVE-2024-52594
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2024-52594 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/matrix-org/gomatrixserverlib | <0.0.0-20250116181547-c4f1e01eab0d |
0.0.0-20250116181547-c4f1e01eab0d |
Affected products
- matrix-org gomatrixserverlib
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/matrix-org/gomatrixserverlib/commit/c4f1e01eab0dd435709ad15463ed38a079ad6128
web, patch
-
github.com
/matrix-org/gomatrixserverlib/security/advisories/GHSA-4ff6-858j-r822
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-52594
advisory
-
github.com
/matrix-org/gomatrixserverlib
package
-
pkg.go.dev
/vuln/GO-2025-3396
web
Sources
- CVE List CVE-2024-52594
- GitHub Advisory GHSA-4ff6-858j-r822
- NVD CVE-2024-52594
- OSV GO-2025-3396
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.