Skip to content
OpenAdvisories
High · 8.2 CVE-2022-36059 EUVD-2023-1097GHSA-rfv9-x7hh-xc32

Prototype pollution in matrix-js-sdk

Published Mar 28, 2023 · Updated Feb 18, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
matrix-org matrix-js-sdk < 19.4.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 thunderbird 1:102.2.1-1 —
Debian 13 thunderbird 1:102.2.1-1 —
Debian 12 thunderbird 1:102.2.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS node-matrix-js-sdk No fix yet —
Ubuntu 22.04 LTS node-matrix-js-sdk No fix yet —
Ubuntu 22.04 LTS thunderbird 1:102.2.2+build1-0ubuntu0.22.04.1 USN-5663-1
Ubuntu 20.04 LTS node-matrix-js-sdk No fix yet —
Ubuntu 20.04 LTS thunderbird 1:102.2.2+build1-0ubuntu0.20.04.1 USN-5663-1
Ubuntu 18.04 LTS thunderbird 1:102.2.2+build1-0ubuntu0.18.04.1 USN-5663-1
ReleasePackageFixed inAdvisory
RHEL 9 thunderbird 102.3.0-3.el9_0 RHSA-2022:6717
RHEL 8 thunderbird 102.3.0-3.el8_6 RHSA-2022:6708
RHEL 7 thunderbird 102.3.0-3.el7_9 RHSA-2022:6710
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 EUS thunderbird 102.3.0-3.el8_4 RHSA-2022:6713
RHEL 8.2 EUS thunderbird 102.3.0-3.el8_2 RHSA-2022:6715
RHEL 8.1 E4S thunderbird 102.3.0-3.el8_1 RHSA-2022:6716

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 thunderbird 102.3.0-3.el9_0.alma ALSA-2022:6717
AlmaLinux 8 thunderbird 102.3.0-3.el8_6.alma ALSA-2022:6708

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 thunderbird 102.3.0-3.el8_6 RLSA-2022:6708
ReleasePackageFixed inAdvisory
SLES 15 SP4 MozillaThunderbird 102.2.2-150200.8.82.1 SUSE-SU-2022:3281-1
SLES 15 SP3 MozillaThunderbird 102.2.2-150200.8.82.1 SUSE-SU-2022:3281-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed MozillaThunderbird 102.2.1-1.1 openSUSE-SU-2024:12299-1
openSUSE Tumbleweed element-web +1 1.11.4-1.1 openSUSE-SU-2024:12295-1, openSUSE-SU-2024:12294-1
openSUSE Leap 15.4 MozillaThunderbird 102.2.2-150200.8.82.1 SUSE-SU-2022:3281-1
openSUSE Leap 15.3 MozillaThunderbird 102.2.2-150200.8.82.1 SUSE-SU-2022:3281-1
ReleasePackageFixed inAdvisory
Alpine v3.24 element-web 1.11.4-r0 —
Alpine v3.23 element-web 1.11.4-r0 —
Alpine v3.22 element-web 1.11.4-r0 —
Alpine v3.21 element-web 1.11.4-r0 —
Alpine v3.20 element-web 1.11.4-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 element-web 1.11.4-r0 —
Alpine v3.18 element-web 1.11.4-r0 —
Alpine v3.17 riot-web 1.11.4-r0 —
Alpine v3.16 riot-web 1.11.4-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 thunderbird 102.4.0-1.amzn2.0.1 ALAS2-2022-1900

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 thunderbird 102.3.0-3.0.1.el9_0 ELSA-2022-6717
Oracle Linux 8 thunderbird 102.3.0-3.0.1.el8_6 ELSA-2022-6708
Oracle Linux 7 thunderbird 102.3.0-3.0.1.el7_9 ELSA-2022-6710

Affected packages

EcosystemPackageAffectedFixedRecord
npm matrix-js-sdk < 19.4.0 19.4.0 GHSA-rfv9-x7hh-xc32

Advisories 20

References