CVE-2024-47080
Last modified
CVE-2024-47080 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. matrix-js-sdk is the Matrix Client-Server SDK for JavaScript and TypeScript. In matrix-js-sdk versions versions 9.11.0 through 34.7.0, the method `MatrixClient.sendSharedHistoryKeys` is vulnerable to interception by malicious homeservers. EPSS estimates a 0.68% chance of exploitation in the next 30 days.
Description
matrix-js-sdk is the Matrix Client-Server SDK for JavaScript and TypeScript. In matrix-js-sdk versions versions 9.11.0 through 34.7.0, the method `MatrixClient.sendSharedHistoryKeys` is vulnerable to interception by malicious homeservers. The method was introduced by MSC3061) and is commonly used to share historical message keys with newly invited users, granting them access to past messages in the room. However, it unconditionally sends these "shared" keys to all of the invited user's devices, regardless of whether the user's cryptographic identity is verified or whether the user's devices are signed by that identity. This allows the attacker to potentially inject its own devices to receive sensitive historical keys without proper security checks. Note that this only affects clients running the SDK with the legacy crypto stack. Clients using the new Rust cryptography stack (i.e. those that call `MatrixClient.initRustCrypto()` instead of `MatrixClient.initCrypto()`) are unaffected by this vulnerability, because `MatrixClient.sendSharedHistoryKeys()` raises an exception in such environments. The vulnerability was fixed in matrix-js-sdk 34.8.0 by removing the vulnerable functionality. As a workaround, remove use of affected functionality from clients.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-47080?
How severe is CVE-2024-47080?
How do I fix CVE-2024-47080?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- 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 2024
- CVE-2024-47075LayUI is a native minimalist modular Web UI component librar…6.1
- CVE-2024-47076CUPS is a standards-based, open-source printing system, and …8.6
- CVE-2024-47077authentik is an open-source identity provider. Prior to vers…6.5
- CVE-2024-47078Meshtastic is an open source, off-grid, decentralized, mesh …9.8
- CVE-2024-47079Meshtastic is an open source, off-grid, decentralized, mesh …6.4
- CVE-2024-4708mySCADA myPRO uses a hard-coded password which could allow…9.8
- CVE-2024-47081Requests is a HTTP library. Due to a URL parsing issue, Requ…5.3
- CVE-2024-47082Strawberry GraphQL is a library for creating GraphQL APIs. P…8
- CVE-2024-47083Power Platform Terraform Provider allows managing environmen…7.5
- CVE-2024-47084Gradio is an open-source Python package designed for quick p…8.3
- CVE-2024-47085This vulnerability exists in Apex Softcell LD DP Back Office…6.5
- CVE-2024-47086This vulnerability exists in Apex Softcell LD DP Back Office…6.5
Are you affected by CVE-2024-47080?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
