CVE-2021-32659
CVSS V2 Low 3.5
CVSS V3 Medium 4.9
Description
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.
Overview
- CVE ID
- CVE-2021-32659
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-06-16T19:15:38
- Last Modified Date
- 2021-07-09T19:46:45
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:matrix:matrix-appservice-bridge:*:*:*:*:*:node.js:*:* | 1 | OR | 2.6.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:S/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- SINGLE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 3.5
- Severity
- LOW
- Exploitability Score
- 6.8
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- HIGH
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 4.9
- Base Severity
- MEDIUM
- Exploitability Score
- 1.2
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/matrix-org/matrix-appservice-bridge/releases/tag/2.6.1 | Patch Third Party Advisory |
https://github.com/matrix-org/matrix-appservice-bridge/commit/b69e745584a34fcfd858df33e4631e420da07b9f | Patch Third Party Advisory |
https://github.com/matrix-org/matrix-appservice-bridge/security/advisories/GHSA-35g4-qx3c-vjhx | Mitigation Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-32659 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32659 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:07:41 | Added to TrackCVE | |||
2022-12-05 04:34:04 | 2021-06-16T19:15Z | 2021-06-16T19:15:38 | CVE Published Date | updated |
2022-12-05 04:34:04 | 2021-07-09T19:46:45 | CVE Modified Date | updated | |
2022-12-05 04:34:04 | Analyzed | Vulnerability Status | updated |