CVE-2021-40824: matrix element Authentication Bypass by Spoofing
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 50.6% of scored vulnerabilities.
Timeline
- 13-09-2021PublishedVulnerability first disclosed.
- 04-08-2024Last 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
3 scores · 2 sources · 2 versions- OSV · MavenEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
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 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Matrix2 products
- element< 1.2.2
- matrix-android-sdk2< 1.2.2
Org.matrix.android1 product
- matrix-android-sdk2< 1.2.2
2 vendors · 3 products
References
3 links- github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2X Refsource MISCWEBPatchThird Party Advisory