Skip to content
Fencer Intel
medium 5.3

CVE-2024-50336 json

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

published last yr. modified 4mo ago also EUVD-2024-3335 , GHSA-xvg8-m4x3-w6xr

cvss
5.3
version 4.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 57%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm matrix-js-sdk 34.11.1
  • matrix javascript_sdk 34.11.1
  • thunderbird Debian 12 1:128.6.0esr-1~deb12u1
  • thunderbird Debian 14, Debian 13 1:128.5.2esr-1

debian advisories DEBIAN-CVE-2024-50336

  • thunderbird Ubuntu 22.04 LTS 1:140.7.1+build1-0ubuntu0.22.04.1

ubuntu advisories UBUNTU-CVE-2024-50336

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • MozillaThunderbird SLE Workstation Extension 15 SP6, SLE Workstation Extension 15 SP5, SLE Module for Package Hub 15 SP6 +3 more 128.5.2-150200.8.194.1

suse advisories SUSE-SU-2024:4326-1

  • MozillaThunderbird openSUSE Tumbleweed 128.5.2-1.1

opensuse advisories openSUSE-SU-2024:14584-1

Is CVE-2024-50336 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.83% chance of exploitation in the next 30 days, higher than 57% of all scored CVEs (FIRST EPSS, 2026-11-11).

CVSS scores

assigned by version score vector
CNA 4.0 5.3 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
CNA 4.0 5.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Affected packages

ecosystem package affected fixed in
npm matrix-js-sdk
<34.11.1
34.11.1

Affected products

  • matrix-org matrix-js-sdk

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.