Lucene search

K
nvd[email protected]NVD:CVE-2024-42369
HistoryAug 20, 2024 - 3:15 p.m.

CVE-2024-42369

2024-08-2015:15:21
CWE-674
web.nvd.nist.gov
1
matrix messaging protocol
client-server sdk
javascript
malicious homeserver
room structure
predecessors
recursion
code hang
leaveroomchain
bug
patched

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS

0.001

Percentile

17.7%

matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. A malicious homeserver can craft a room or room structure such that the predecessors form a cycle. The matrix-js-sdk’s getRoomUpgradeHistory function will infinitely recurse in this case, causing the code to hang. This method is public but also called by the ‘leaveRoomChain()’ method, so leaving a room will also trigger the bug. This was patched in matrix-js-sdk 34.3.1.

Affected configurations

Nvd
Node
matrixjavascript_sdkRange<34.3.1
VendorProductVersionCPE
matrixjavascript_sdk*cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*

CVSS3

5.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS

0.001

Percentile

17.7%

Related for NVD:CVE-2024-42369