5.9

CVE-2021-40824: matrix element Authentication Bypass by Spoofing

Modified
AliasesGHSA-jjmc-4p83-pp26ALPINE-CVE-2021-40824
Published 13-09-2021Last modified 04-08-2024

Vulnerability summary

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

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.9/10
010
Medium · v3.1 (NVD)
EPSS score
0.66%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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 Element Android before 1.2.2 and matrix-android-sdk2 (aka Matrix SDK for Android) before 1.2.2 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 attacker to decrypt end-to-end encrypted messages sent by affected clients.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.66% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine2 products
  • element-web< 1.8.4-r0
  • riot-web< 1.8.4-r0
Matrix2 products
Org.matrix.android1 product
  • matrix-android-sdk2< 1.2.2

3 vendors · 5 products

References

4 links