Skip to content
Fencer Intel
high 8.2

CVE-2022-36059 json

Prototype pollution in matrix-js-sdk

published 3y ago modified 4mo ago also GHSA-rfv9-x7hh-xc32 , EUVD-2023-1097

cvss
8.2
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known

Summary

matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. In versions prior to 19.4.0 events sent with special strings in key places can temporarily disrupt or impede the matrix-js-sdk from functioning properly, potentially impacting the consumer's ability to process data safely. Note that the matrix-js-sdk can appear to be operating normally but be excluding or corrupting runtime data presented to the consumer. This issue has been fixed in matrix-js-sdk 19.4.0 and users are advised to upgrade. Users unable to upgrade may mitigate this issue by redacting applicable events, waiting for the sync processor to store data, and restarting the client. Alternatively, redacting the applicable events and clearing all storage will often fix most perceived issues. In some cases, no workarounds are possible.

Patch / fix

  • npm matrix-js-sdk 19.4.0
  • matrix javascript_sdk 19.4.0
  • thunderbird Debian 14, Debian 13, Debian 12 1:102.2.1-1

debian advisories DEBIAN-CVE-2022-36059

  • thunderbird Ubuntu 18.04 LTS 1:102.2.2+build1-0ubuntu0.18.04.1
  • thunderbird Ubuntu 20.04 LTS 1:102.2.2+build1-0ubuntu0.20.04.1
  • thunderbird Ubuntu 22.04 LTS 1:102.2.2+build1-0ubuntu0.22.04.1

ubuntu advisories UBUNTU-CVE-2022-36059

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

  • thunderbird RHEL 7 102.3.0-3.el7_9
  • thunderbird RHEL 9 102.3.0-3.el9_0
  • thunderbird RHEL 8 102.3.0-3.el8_6
  • thunderbird RHEL 8.2 EUS 102.3.0-3.el8_2
  • thunderbird RHEL 8.1 E4S 102.3.0-3.el8_1
  • thunderbird RHEL 8.4 EUS 102.3.0-3.el8_4

red hat advisories RHSA-2022:6715RHSA-2022:6710RHSA-2022:6716RHSA-2022:6717RHSA-2022:6708RHSA-2022:6713

  • MozillaThunderbird SLE Workstation Extension 15 SP4, SLE Workstation Extension 15 SP3, SLE Module for Package Hub 15 SP4 +3 more 102.2.2-150200.8.82.1

suse advisories SUSE-SU-2022:3281-1

  • element-desktop openSUSE Tumbleweed 1.11.4-1.1
  • element-web openSUSE Tumbleweed 1.11.4-1.1
  • MozillaThunderbird openSUSE Tumbleweed 102.2.1-1.1

opensuse advisories openSUSE-SU-2024:12294-1openSUSE-SU-2024:12295-1openSUSE-SU-2024:12299-1

  • thunderbird AlmaLinux 8 102.3.0-3.el8_6.alma
  • thunderbird AlmaLinux 9 102.3.0-3.el9_0.alma

almalinux advisories ALSA-2022:6708ALSA-2022:6717

  • thunderbird Rocky Linux 8 102.3.0-3.el8_6

rocky linux advisories RLSA-2022:6708

  • riot-web Alpine 3.17, Alpine 3.16 1.11.4-r0
  • element-web Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 1.11.4-r0

alpine advisories ALPINE-CVE-2022-36059

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-36059 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

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-36059 updated cvss 6.1

Mozilla: Matrix SDK bundled with Thunderbird vulnerable to denial-of-service attack

  • Red Hat Enterprise Linux 6 thunderbird
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) thunderbird 102.3.0-3.el8_6
    fixed: vendor fix RHSA-2022:6708
  • Red Hat Enterprise Linux AppStream (v. 9) thunderbird 102.3.0-3.el9_0
    fixed: vendor fix RHSA-2022:6717
  • Red Hat Enterprise Linux AppStream E4S (v. 8.1) thunderbird 102.3.0-3.el8_1
    fixed: vendor fix RHSA-2022:6716
  • Red Hat Enterprise Linux AppStream EUS (v. 8.2) thunderbird 102.3.0-3.el8_2
    fixed: vendor fix RHSA-2022:6715
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) thunderbird 102.3.0-3.el8_4
    fixed: vendor fix RHSA-2022:6713
  • Red Hat Enterprise Linux Client (v. 7) thunderbird 102.3.0-3.el7_9 Red Hat Enterprise Linux Server Optional (v. 7) thunderbird 102.3.0-3.el7_9 Red Hat Enterprise Linux Workstation (v. 7) thunderbird 102.3.0-3.el7_9
    fixed: vendor fix RHSA-2022:6710

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
last yr.

Exploit prediction

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

CVSS scores

assigned by version score vector
CNA 3.1 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub 3.1 7.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Affected packages

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

Affected products

  • matrix-org matrix-js-sdk

Classification

Weakness
  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes

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.