Vulnerability · Published Nov 12, 2024 · Assigned by GitHub_M

CVE-2024-50336matrix-js-sdk has insufficient MXC URI validation which allows client-side path traversal

Medium 5.3

In plain English

A medium-severity path traversal in matrix-js-sdk from matrix-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 58% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.8%top 42.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. matrix-js-sdk before 34.11.0 is vulnerable to client-side path traversal via crafted MXC URIs. A malicious room member can trigger clients based on the matrix-js-sdk to issue arbitrary authenticated GET requests to the client's homeserver. Fixed in matrix-js-sdk 34.11.1.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12thunderbird1:128.6.0esr-1~deb12u1DEBIAN-CVE-2024-50336
Debian:12thunderbird1:128.6.0esr-1~deb12u1DSA-5841-1
Debian:13thunderbird1:128.5.2esr-1DEBIAN-CVE-2024-50336
Debian:14thunderbird1:128.5.2esr-1DEBIAN-CVE-2024-50336
Ubuntu:22.04:LTSmozjs102no fix listedUBUNTU-CVE-2024-50336
Ubuntu:24.04:LTSmozjs102no fix listedUBUNTU-CVE-2024-50336
Ubuntu:24.04:LTSmozjs115no fix listedUBUNTU-CVE-2024-50336
Ubuntu:22.04:LTSmozjs78no fix listedUBUNTU-CVE-2024-50336
Ubuntu:22.04:LTSmozjs91no fix listedUBUNTU-CVE-2024-50336
Ubuntu:22.04:LTSnode-matrix-js-sdkno fix listedUBUNTU-CVE-2024-50336
Ubuntu:24.04:LTSnode-matrix-js-sdkno fix listedUBUNTU-CVE-2024-50336
Ubuntu:22.04:LTSthunderbird1:140.7.1+build1-0ubuntu0.22.04.1UBUNTU-CVE-2024-50336
npmmatrix-js-sdk34.11.1GHSA-xvg8-m4x3-w6xr

Affected products (as reported)

VendorProductVersions
matrix-org matrix-js-sdk < 34.11.1

Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

References