{"id":"CVE-2024-52594","aliases":["CVE-2024-52594","GHSA-4ff6-858j-r822","GO-2025-3396"],"related":[],"kind":"vulnerability","state":"published","title":"Server-Side Request Forgery (SSRF) on redirects and federation in gomatrixserverlib","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nGomatrixserverlib is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions.\n\n### Patches\n\nc4f1e01eab0dd435709ad15463ed38a079ad6128 fixes this issue.\n\n\n### Workarounds\nUse a local firewall to limit the network segments and hosts the service using gomatrixserverlib can access.\n\n### References\nN/A","format":"markdown","source":"ghsa"},{"lang":"en","text":"Server-Side Request Forgery (SSRF) on redirects and federation in github.com/matrix-org/gomatrixserverlib","format":"markdown","source":"go"},{"lang":"es","text":"Gomatrixserverlib es una librería Go para la federación de matrices. Gomatrixserverlib es vulnerable a server-side request forgery, ya que ofrece contenido desde una red privada a la que puede acceder, bajo ciertas condiciones. La confirmación `c4f1e01` soluciona este problema. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben usar un firewall local para limitar los segmentos de red y los hosts a los que puede acceder el servicio que usa gomatrixserverlib.","source":"nvd"}],"published":"2025-01-16T18:57:29.333Z","modified":"2026-06-17T08:07:30.903Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"version":"< c4f1e01eab0dd435709ad15463ed38a079ad6128","status":"affected"}],"vendor":"matrix-org","product":"gomatrixserverlib","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20250116181547-c4f1e01eab0d"}],"ecosystem":"Go","package":"github.com/matrix-org/gomatrixserverlib","purl":"pkg:golang/github.com/matrix-org/gomatrixserverlib","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.0-20250116181547-c4f1e01eab0d"}],"ecosystem":"Go","package":"github.com/matrix-org/gomatrixserverlib","purl":"pkg:golang/github.com/matrix-org/gomatrixserverlib","source":"go"}],"references":[{"url":"https://github.com/matrix-org/gomatrixserverlib/security/advisories/GHSA-4ff6-858j-r822","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/matrix-org/gomatrixserverlib/commit/c4f1e01eab0dd435709ad15463ed38a079ad6128","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52594","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/matrix-org/gomatrixserverlib","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3396","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-16T19:17:09.755Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-52594","url":"https://www.cve.org/CVERecord?id=CVE-2024-52594","licence":"CVE Terms of Use","modified":"2025-02-12T20:31:20.951Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4ff6-858j-r822","url":"https://github.com/advisories/GHSA-4ff6-858j-r822","licence":"CC-BY-4.0","modified":"2025-01-17T15:41:23.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-3396","url":"https://pkg.go.dev/vuln/GO-2025-3396","licence":"CC-BY-4.0","modified":"2025-01-16T23:27:18.600Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-52594","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52594","licence":"Public domain","modified":"2026-06-17T08:07:30.903Z"}],"updatedAt":"2026-11-25T22:58:51.089Z","epss":{"score":0.00354,"percentile":0.31118,"date":"2026-12-01T12:00:22.000Z"}}