CVE-2021-40823
MEDIUM5.9EPSS 0.16%matrix-js-sdk can be tricked into disclosing E2EE room keys to a participating homeserver
發布日:2021/9/14修改日:2026/4/28
描述
A logic error in the room key sharing functionality of matrix-js-sdk (aka Matrix Javascript SDK) before 12.4.1 allows a malicious Matrix homeserver present in an encrypted room to steal room encryption keys (via crafted Matrix protocol messages) that were originally sent by affected Matrix clients participating in that room. This allows the homeserver to decrypt end-to-end encrypted messages sent by affected clients.
受影響套件(2)
- Debian/node-matrix-js-sdkfrom 0
- npm/matrix-js-sdkfrom 0, < 12.4.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-40823
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-40823
- PATCHhttps://github.com/matrix-org/matrix-js-sdk
- WEBhttps://github.com/matrix-org/matrix-js-sdk/commit/894c24880da0e1cc81818f51c0db80e3c9fb2be9
- WEBhttps://github.com/matrix-org/matrix-js-sdk/releases/tag/v12.4.1
- WEBhttps://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-23cm-x6j7-6hq3
- WEBhttps://matrix.org/blog/2021/09/13/vulnerability-disclosure-key-sharing