Skip to content

matrix-js-sdk vulnerable to invisible eavesdropping in group calls

Moderate severity GitHub Reviewed Published Apr 13, 2023 in matrix-org/matrix-js-sdk • Updated Apr 25, 2023

Package

npm matrix-js-sdk (npm)

Affected versions

< 24.1.0

Patched versions

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.

References

@dkasak dkasak published to matrix-org/matrix-js-sdk Apr 13, 2023
Published to the GitHub Advisory Database Apr 14, 2023
Reviewed Apr 14, 2023
Published by the National Vulnerability Database Apr 14, 2023
Last updated Apr 25, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

EPSS score

0.094%
(41st percentile)

Weaknesses

CVE ID

CVE-2023-29529

GHSA ID

GHSA-6g67-q39g-r79q
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.