Skip to content

← Public intelligence

Go package

github.com/matrix-org/gomatrixserverlib

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.3GoPublished

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

    CVE-2024-52594 · GHSA-4ff6-858j-r822

    Affected
    • Go github.com/matrix-org/gomatrixserverlib <= 0.0.0-20250106190028-bf86bc98b879
    Fixed in
    0.0.0-20250116181547-c4f1e01eab0d· Vendor fix available
    Issue
    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

    Recommended action: Upgrade to 0.0.0-20250116181547-c4f1e01eab0d (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.0GoPublished

    gomatrixserverlib and Dendrite vulnerable to incorrect parsing of the event default power level in event auth

    CVE-2022-36009 · GHSA-grvv-h2f9-7v9c

    Affected
    • Go github.com/matrix-org/gomatrixserverlib < 0.0.0-20220815091947-723fd495dde8
    Fixed in
    0.0.0-20220815091947-723fd495dde8· Vendor fix available
    Issue
    Impact The power level parsing within gomatrixserverlib was failing to parse the "eventsdefault" key of the m.room.powerlevels event, defaulting the event default power level to zero in all cases. In rooms where the "eventsdefault" power level had been changed, this could result in events either being incorrectly authorised or rejected by Dendrite servers. Patches gomatrixserverlib contains a fix as of commit 723fd49 and Dendrite 0.9.3 has been updated accordingly. Workarounds Matrix rooms where the "eventsdefault" power level has not been changed from the default of zero are not vulnerable. For more information If you have any questions or comments about this advisory, e-mail us at security@matrix.org.

    Recommended action: Upgrade to 0.0.0-20220815091947-723fd495dde8 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →