GHSA-4ff6-858j-r822

Suggest an improvement
Source
https://github.com/advisories/GHSA-4ff6-858j-r822
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-4ff6-858j-r822/GHSA-4ff6-858j-r822.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4ff6-858j-r822
Aliases
Published
2025-01-16T23:08:32Z
Modified
2025-01-17T15:41:23Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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

Database specific
{
    "nvd_published_at": "2025-01-16T19:15:28Z",
    "cwe_ids": [
        "CWE-918"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2025-01-16T23:08:32Z"
}
References

Affected packages

Go / github.com/matrix-org/gomatrixserverlib

Package

Name
github.com/matrix-org/gomatrixserverlib
View open source insights on deps.dev
Purl
pkg:golang/github.com/matrix-org/gomatrixserverlib

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.0.0-20250116181547-c4f1e01eab0d

Database specific

{
    "last_known_affected_version_range": "<= 0.0.0-20250106190028-bf86bc98b879"
}