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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | thunderbird | 1:128.6.0esr-1~deb12u1 | DEBIAN-CVE-2024-50336 |
| Debian:12 | thunderbird | 1:128.6.0esr-1~deb12u1 | DSA-5841-1 |
| Debian:13 | thunderbird | 1:128.5.2esr-1 | DEBIAN-CVE-2024-50336 |
| Debian:14 | thunderbird | 1:128.5.2esr-1 | DEBIAN-CVE-2024-50336 |
| Ubuntu:22.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2024-50336 |
| Ubuntu:24.04:LTS | mozjs102 | no fix listed | UBUNTU-CVE-2024-50336 |
| Ubuntu:24.04:LTS | mozjs115 | no fix listed | UBUNTU-CVE-2024-50336 |
| Ubuntu:22.04:LTS | mozjs78 | no fix listed | UBUNTU-CVE-2024-50336 |
| Ubuntu:22.04:LTS | mozjs91 | no fix listed | UBUNTU-CVE-2024-50336 |
| Ubuntu:22.04:LTS | node-matrix-js-sdk | no fix listed | UBUNTU-CVE-2024-50336 |
| Ubuntu:24.04:LTS | node-matrix-js-sdk | no fix listed | UBUNTU-CVE-2024-50336 |
| Ubuntu:22.04:LTS | thunderbird | 1:140.7.1+build1-0ubuntu0.22.04.1 | UBUNTU-CVE-2024-50336 |
| npm | matrix-js-sdk | 34.11.1 | GHSA-xvg8-m4x3-w6xr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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