CVE-2021-32659

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-32659
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-32659.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-32659
Aliases
Related
Published
2021-06-16T19:15:38.830Z
Modified
2025-11-14T11:55:25.287440Z
Severity
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

Matrix-appservice-bridge is the bridging service for the Matrix communication program's 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.

References

Affected packages

Git / github.com/matrix-org/matrix-appservice-bridge

Affected ranges

Type
GIT
Repo
https://github.com/matrix-org/matrix-appservice-bridge
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.3.2
0.3.3
0.3.4
0.3.5
0.3.6

1.*

1.0.0
1.0.1
1.1.1
1.10.0
1.10.1
1.10.2
1.10.3
1.11.0
1.11.1
1.12.0
1.12.1
1.12.2
1.13.0
1.13.1
1.2.1
1.3.0
1.3.3
1.3.4
1.3.5
1.3.6
1.4.0
1.4.0a
1.5.0
1.5.0a
1.6.0
1.6.0a
1.6.0b
1.6.0c
1.6.1
1.7.0
1.8.1
1.9.0
1.9.1
1.9.2

2.*

2.0.0
2.1.0
2.1.0-rc1
2.1.0-rc2
2.2.0
2.2.0-rc1
2.2.0-rc2
2.3.0
2.3.0-rc1
2.3.0-rc2
2.3.0-rc3
2.3.1
2.4.0
2.4.0-rc1
2.4.0-rc2
2.5.0
2.6.0
2.6.0-rc1

v1.*

v1.13.2

v2.*

v2.5.0-rc1