cve.bz

CVE-2022-36059 matrix javascript sdk: Prototype Pollution

5.3 mediumEPSS 0.9%Fix available

Medium (5.3) in matrix javascript sdk. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in matrix-js-sdk 19.4.0.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-02-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-36059 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-36059?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-36059?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-36059 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
matrix:javascript_sdkbefore 19.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rfv9-x7hh-xc32npmmatrix-js-sdk<19.4.019.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14thunderbird1:102.2.1-1DEBIAN-CVE-2022-36059
Ubuntu18.04:LTSthunderbird1:102.2.2+build1-0ubuntu0.18.04.1UBUNTU-CVE-2022-36059 USN-5663-1
Ubuntu20.04:LTSthunderbird1:102.2.2+build1-0ubuntu0.20.04.1UBUNTU-CVE-2022-36059 USN-5663-1
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTSnode-matrix-js-sdkno fix listedUBUNTU-CVE-2022-36059
Ubuntu22.04:LTSthunderbird1:102.2.2+build1-0ubuntu0.22.04.1UBUNTU-CVE-2022-36059 USN-5663-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationthunderbird, thunderbird-debuginfo0:102.3.0-3.el7_9RHSA-2022:6710
Red Hatenterprise_linux:8::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_6RHSA-2022:6708
Red Hatenterprise_linux:9::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el9_0RHSA-2022:6717
Red Hatrhel_e4s:8.1::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_1RHSA-2022:6716
Red Hatrhel_eus:8.2::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_2RHSA-2022:6715
Red Hatrhel_eus:8.4::appstreamthunderbird, thunderbird-debuginfo, thunderbird-debugsource0:102.3.0-3.el8_4RHSA-2022:6713
SUSELinux Enterprise Module for Package Hub 15 SP3, Linux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Workstation Extension 15 SP3 and 1 moreMozillaThunderbird102.2.2-150200.8.82.1SUSE-SU-2022:3281-1
openSUSELeap 15.3, Leap 15.4MozillaThunderbird102.2.2-150200.8.82.1SUSE-SU-2022:3281-1
openSUSETumbleweedMozillaThunderbird102.2.1-1.1openSUSE-SU-2024:12299-1
openSUSETumbleweedelement-desktop1.11.4-1.1openSUSE-SU-2024:12294-1
openSUSETumbleweedelement-web1.11.4-1.1openSUSE-SU-2024:12295-1
AlmaLinux8thunderbird102.3.0-3.el8_6.almaALSA-2022:6708
AlmaLinux9thunderbird102.3.0-3.el9_0.almaALSA-2022:6717
Rocky Linux8thunderbird0:102.3.0-3.el8_6RLSA-2022:6708
Alpinev3.16, v3.17riot-web1.11.4-r0ALPINE-CVE-2022-36059
Alpinev3.18, v3.19, v3.20 and 4 moreelement-web1.11.4-r0ALPINE-CVE-2022-36059

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7thunderbird-0:102.3.0-3.el7_9Fixed 2022-09-26RHSA-2022:6710
Red Hat Enterprise Linux 8thunderbird-0:102.3.0-3.el8_6Fixed 2022-09-26RHSA-2022:6708
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsthunderbird-0:102.3.0-3.el8_1Fixed 2022-09-26RHSA-2022:6716
Red Hat Enterprise Linux 8.2 Extended Update Supportthunderbird-0:102.3.0-3.el8_2Fixed 2022-09-26RHSA-2022:6715
Red Hat Enterprise Linux 8.4 Extended Update Supportthunderbird-0:102.3.0-3.el8_4Fixed 2022-09-26RHSA-2022:6713
Red Hat Enterprise Linux 9thunderbird-0:102.3.0-3.el9_0Fixed 2022-09-26RHSA-2022:6717
Red Hat Enterprise Linux 6thunderbirdOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-36059.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-180 Exploiting Incorrectly Configured Access Control Security Levels Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON