GitHub Advisoryadvisory · npm
GHSA-6g67-q39g-r79q matrix-js-sdk vulnerable to invisible eavesdropping in group calls
MEDIUM
Official page ↗
- Aliases
- CVE-2023-29529
- Ecosystem
- npm
- Packages
- matrix-js-sdk
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
- Weaknesses
- CWE-862
- Reviewed
- 2023-04-14
Affected packages
• npm matrix-js-sdk: < 24.1.0 → fixed in 24.1.0
Description
Impact
An attacker present in a room where an MSC3401 group call is taking place can eavesdrop on the video and audio of participants using matrix-js-sdk, without their knowledge. To affected matrix-js-sdk users, the attacker will not appear to be participating in the call.
This attack is possible because matrix-js-sdk's group call implementation accepts incoming direct calls from other users, even if they have not yet declared intent to participate in the group call, as a means of resolving a race condition in call setup. Affected versions do not restrict access to the user's outbound media in this case.
Legacy 1:1 calls are unaffected.
Workarounds
Users may hold group calls in private rooms where only the exact users who are expected to participate in the call are present.
Related
Alias · CVE (1)
- CVE-2023-29529 matrix-js-sdk is the Matrix Client-Server SDK for JavaScript and TypeScript. vulnerability
Weakness · CWE (1)
- CWE-862 Missing Authorization weakness
References
- https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-6g67-q39g-r79q web
- https://nvd.nist.gov/vuln/detail/CVE-2023-29529 advisory
- https://github.com/matrix-org/matrix-spec-proposals/pull/3401 web
- https://github.com/matrix-org/matrix-js-sdk package
- https://github.com/matrix-org/matrix-js-sdk/releases/tag/v24.1.0 web