CVE-2023-29529: Matrix js sdk Matrix-js-sdk Vulnerable To Invisible Eavesdropping Vulnerability
MODERATECVE-2023-29529 is a MODERATE (CVSS 5.0) matrix-js-sdk vulnerable to invisible eavesdropping vulnerability (CWE-862: Missing Authorization) affecting Matrix js sdk libraries in the npm ecosystem. The issue involves matrix-js-sdk vulnerable to invisible eavesdropping in group calls. Remediation is available by upgrading affected packages to version 24.1.0.
CVE-2023-29529 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N).
How to Fix CVE-2023-29529
To remediate this vulnerability, upgrade all affected Matrix js sdk dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install matrix-js-sdk@24.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls matrix-js-sdk
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2023-29529, inspect your project dependencies using npm:
npm ls matrix-js-sdk
Analyze the terminal output to locate any version of Matrix js sdk in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 24.1.0), your application is affected.
Note: The npm ls matrix-js-sdk command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Matrix js sdk, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-29529 Affected Matrix js sdk Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
matrix-js-sdk
|
npm |
< 24.1.0
|
24.1.0
|
References
Frequently Asked Questions
What is CVE-2023-29529?
Which Matrix js sdk versions are affected?
What version fixes CVE-2023-29529?
Is matrix-js-sdk affected?
What is the CVSS score of CVE-2023-29529?
What CWE is associated with CVE-2023-29529?
How can I check npm dependencies for CVE-2023-29529?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6g67-q39g-r79q",
"modified" : "2023-04-25T16:35:38Z",
"published" : "2023-04-14T16:14:17Z",
"aliases" : [ "CVE-2023-29529" ],
"summary" : "matrix-js-sdk vulnerable to invisible eavesdropping in group calls",
"details" : "### Impact\n\nAn attacker present in a room where an [MSC3401](https://github.com/matrix-org/matrix-spec-proposals/pull/3401) 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.\n\nThis 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.\n\nLegacy 1:1 calls are unaffected.\n\n### Workarounds\n\nUsers may hold group calls in private rooms where only the exact users who are expected to participate in the call are present.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "matrix-js-sdk"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "24.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-6g67-q39g-r79q"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-29529"
}, {
"type" : "WEB",
"url" : "https://github.com/matrix-org/matrix-spec-proposals/pull/3401"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/matrix-org/matrix-js-sdk"
}, {
"type" : "WEB",
"url" : "https://github.com/matrix-org/matrix-js-sdk/releases/tag/v24.1.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-14T16:14:17Z",
"nvd_published_at" : "2023-04-14T19:15:00Z"
}
}