GHSA-6g67-q39g-r79q

Suggest an improvement
Source
https://github.com/advisories/GHSA-6g67-q39g-r79q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-6g67-q39g-r79q/GHSA-6g67-q39g-r79q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6g67-q39g-r79q
Aliases
Related
Published
2023-04-14T16:14:17Z
Modified
2023-11-08T04:12:20.691589Z
Severity
  • 5.0 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N CVSS Calculator
Summary
matrix-js-sdk vulnerable to invisible eavesdropping in group calls
Details

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.

Database specific
{
    "severity": "MODERATE",
    "github_reviewed_at": "2023-04-14T16:14:17Z",
    "nvd_published_at": "2023-04-14T19:15:00Z",
    "cwe_ids": [
        "CWE-862"
    ],
    "github_reviewed": true
}
References

Affected packages

npm / matrix-js-sdk

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
24.1.0