5.9

CVE-2021-40823: matrix javascript_sdk Authentication Bypass by Spoofing

CVSS: 5.9v3.1MediumModified
AliasesUBUNTU-CVE-2021-40823DEBIAN-CVE-2021-40823GHSA-23cm-x6j7-6hq3
Published 13-09-2021Last modified 04-08-2024

Vulnerability summary

CVE-2021-40823 is a medium (CVSS 5.9) Authentication Bypass by Spoofing vulnerability in matrix javascript_sdk. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 50.7% of scored vulnerabilities.

Overall risk
24/100
0100
Low · default modelHow is this calculated?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.66%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 13-09-2021
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

0.00 pp

From 0.66% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.66%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • node-matrix-js-sdkAll versions (No fix recorded)
Matrix1 product
Npm1 product
  • matrix-js-sdk< 12.4.1
Ubuntu1 product
  • node-matrix-js-sdkAll versions (No fix recorded)

4 vendors · 4 products

References

10 links