Vulnerability library
Security checkAugust 08, 2023

matrix-js-sdk can be tricked into disclosing E2EE room keys to a participating homeserver

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmmatrix-js-sdk

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

A logic error in the room key sharing functionality of matrix-js-sdk before 12.4.1 allows a malicious Matrix homeserver† participating in an encrypted room to steal room encryption keys from affected Matrix clients participating in that room. This allows the homeserver to decrypt end-to-end encrypted messages sent by affected clients.

Recommendation

Update the matrix-js-sdk package to the latest compatible version. Followings are version details:

  • Affected version(s): < 12.4.1
  • Patched version(s): 12.4.1

References

Could your website be exposed too?

SmartScanner can check your website for matrix-js-sdk can be tricked into disclosing E2EE room keys to a participating homeserver and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 08, 2023