QID 982090

QID 982090: Nodejs (npm) Security Update for matrix-appservice-bridge (GHSA-35g4-qx3c-vjhx)

Security update has been released for matrix-appservice-bridge to fix the vulnerability.

Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

If a bridge has room upgrade handling turned on in the configuration (the `roomUpgradeOpts` key when instantiating a new `Bridge` instance.), any `m.room.tombstone` event it encounters will be used to unbridge the current room and bridge into the target room. However, the target room `m.room.create` event is not checked to verify if the `predecessor` field contains the previous room. This means that any mailcious admin of a bridged room can repoint the traffic to a different room without the new room being aware.

  • CVSS V3 rated as Medium - 4.9 severity.
  • CVSS V2 rated as Medium - 3.5 severity.
  • Solution
    Versions 2.6.1 and greater are patched.Workaround:
    Disabling the automatic room upgrade handling can be done by removing the `roomUpgradeOpts` key from the `Bridge` class options.
    Vendor References

    CVEs related to QID 982090

    Software Advisories
    Advisory ID Software Component Link
    GHSA-35g4-qx3c-vjhx matrix-appservice-bridge URL Logo github.com/advisories/GHSA-35g4-qx3c-vjhx