Vulnerability library
Security checkJanuary 30, 2023

matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification

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

High 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

An attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities, leading to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one.

Recommendation

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

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

References

Could your website be exposed too?

SmartScanner can check your website for matrix-js-sdk subject to user impersonation due to key/device identifier confusion in SAS verification and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 30, 2023