CVE-2021-40824
Last modified
CVE-2021-40824 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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.. EPSS estimates a 0.64% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Matrix | Element | < 1.2.2 |
| Matrix | Matrix-Android-Sdk2 | < 1.2.2 |
References
- https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2Patch, Third Party Advisory
- https://github.com/matrix-org/matrix-android-sdk2/releases/tag/v1.2.2Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-40824?
How severe is CVE-2021-40824?
How do I fix CVE-2021-40824?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-40813A cross-site scripting (XSS) vulnerability in the "Zip conte…5.4
- CVE-2021-40814The Customer Photo Gallery addon before 2.9.4 for PrestaShop…9.8
- CVE-2021-40818scheme/webauthn.c in Glewlwyd SSO server through 2.5.3 has a…9.8
- CVE-2021-4082pimcore is vulnerable to Cross-Site Request Forgery (CSRF)4.3
- CVE-2021-40822GeoServer through 2.18.5 and 2.19.x through 2.19.2 allows SS…7.5
- CVE-2021-40823A logic error in the room key sharing functionality of matri…5.9
- CVE-2021-40825nLight ECLYPSE (nECY) system Controllers running software pr…8.6
- CVE-2021-40826Clementine Music Player through 1.3.1 is vulnerable to a Use…7.8
- CVE-2021-40827Clementine Music Player through 1.3.1 (when a GLib 2.0.0 DLL…7.8
- CVE-2021-40828Connections initialized by the AWS IoT Device SDK v2 for Jav…8.8
- CVE-2021-40829Connections initialized by the AWS IoT Device SDK v2 for Jav…8.8
- CVE-2021-4083A read-after-free memory flaw was found in the Linux kernel'…7
Are you affected by CVE-2021-40824?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
