{"id":"EUVD-2021-1248","enisaUuid":"6af3a652-b0e9-316b-a173-2228da07b609","description":"Matrix-appservice-bridge is the bridging service for the Matrix communication program\u0027s application services. In versions 2.6.0 and earlier, 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 malicious admin of a bridged room can repoint the traffic to a different room without the new room being aware. Versions 2.6.1 and greater are patched. As a workaround, disabling the automatic room upgrade handling can be done by removing the `roomUpgradeOpts` key from the `Bridge` class options.","datePublished":"Jun 16, 2021, 6:45:11 PM","dateUpdated":"Aug 3, 2024, 11:25:31 PM","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-35g4-qx3c-vjhx\nhttps://github.com/matrix-org/matrix-appservice-bridge/commit/b69e745584a34fcfd858df33e4631e420da07b9f\nhttps://github.com/matrix-org/matrix-appservice-bridge/releases/tag/2.6.1\n","aliases":"CVE-2021-32659\nGHSA-35g4-qx3c-vjhx\n","assigner":"GitHub_M","epss":0.94,"enisaIdProduct":[{"id":"787efbed-33b0-33a3-b6ef-9f3710427ed1","product":{"name":"matrix-appservice-bridge","vendor":{"name":"matrix-org"}},"product_version":"\u003c 2.6.1"}],"enisaIdVendor":[{"id":"e4e51b08-d6c5-3003-b631-fb94bef3ba38","vendor":{"name":"matrix-org"}}],"enisaIdVulnerability":[{"id":"0ba22e9b-3720-3262-b53c-c74495583393","vulnerability":{"id":"CVE-2021-32659","description":"Matrix-appservice-bridge is the bridging service for the Matrix communication program\u0027s application services. In versions 2.6.0 and earlier, 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 malicious admin of a bridged room can repoint the traffic to a different room without the new room being aware. Versions 2.6.1 and greater are patched. As a workaround, disabling the automatic room upgrade handling can be done by removing the `roomUpgradeOpts` key from the `Bridge` class options.","datePublished":"Jun 16, 2021, 6:45:11 PM","dateUpdated":"Aug 3, 2024, 11:25:31 PM","status":"PUBLISHED","baseScore":6.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-35g4-qx3c-vjhx\nhttps://github.com/matrix-org/matrix-appservice-bridge/commit/b69e745584a34fcfd858df33e4631e420da07b9f\nhttps://github.com/matrix-org/matrix-appservice-bridge/releases/tag/2.6.1\n","enisa_id":"EUVD-2021-1248\n","assigner":"GitHub_M","epss":0.94,"dataProcessed":"Nov 24, 2026, 7:26:19 AM","vulnerabilityProduct":[{"id":"3424cc4d-624d-3556-9062-85bf7db59310","product":{"name":"matrix-appservice-bridge","vendor":{"name":"matrix-org"}},"product_version":"\u003c 2.6.1"}],"vulnerabilityVendor":[{"id":"3e80df27-b52b-3b2c-8d52-174f54bf3146","vendor":{"name":"matrix-org"}}]}},{"id":"6e5f7bc4-2f26-31cf-9760-a6ffe0449055","vulnerability":{"id":"GHSA-35g4-qx3c-vjhx","description":"Automatic room upgrade handling can be used maliciously to bridge a room non-consentually ","datePublished":"Jun 21, 2021, 5:09:22 PM","dateUpdated":"Jun 16, 2021, 8:08:37 PM","baseScore":null,"references":"https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-35g4-qx3c-vjhx\nhttps://nvd.nist.gov/vuln/detail/CVE-2021-32659\nhttps://github.com/matrix-org/matrix-appservice-bridge/pull/330\nhttps://github.com/matrix-org/matrix-appservice-bridge/commit/b69e745584a34fcfd858df33e4631e420da07b9f\nhttps://github.com/matrix-org/matrix-appservice-bridge/releases/tag/2.6.1\n","enisa_id":"EUVD-2021-1248\n","aliases":"GHSA-35g4-qx3c-vjhx\nCVE-2021-32659\n","epss":0.0,"dataProcessed":"Nov 22, 2026, 2:06:15 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}