Advisory

GHSA-4ff6-858j-r822

Also known as: CVE-2024-52594, GO-2025-3396

Summary

Gomatrixserverlib Server-Side Request Forgery (SSRF) on redirects and federation

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-01-16 23:08 UTC
Modified
2025-01-17 15:41 UTC

Affected packages and fixes

github.com/matrix-org/gomatrixserverlib

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20250116181547-c4f1e01eab0d (semver)

Fixed versions

0.0.0-20250116181547-c4f1e01eab0d

Fix

  • Fixed version 0.0.0-20250116181547-c4f1e01eab0d
    go get github.com/matrix-org/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences