Vulnerability · Published Mar 28, 2023 · Assigned by GitHub_M

CVE-2023-28427Prototype pollution in matrix-js-sdk

High 8.2

In plain English

A high-severity prototype pollution 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 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.2High
Exploit odds (30 days)1.2%top 32.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. In versions prior to 24.0.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 vulnerability is distinct from GHSA-rfv9-x7hh-xc32 which covers a similar issue. The issue has been patched in matrix-js-sdk 24.0.0 and users are advised to upgrade. There are no known workarounds for this vulnerability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8thunderbird102.10.0-2.el8_7.almaALSA-2023:1802
AlmaLinux:9thunderbird102.10.0-2.el9_1.almaALSA-2023:1809
Alpine:v3.20element-web1.11.26-r0ALPINE-CVE-2023-28427
Alpine:v3.21element-web1.11.26-r0ALPINE-CVE-2023-28427
Alpine:v3.22element-web1.11.26-r0ALPINE-CVE-2023-28427
Alpine:v3.23element-web1.11.26-r0ALPINE-CVE-2023-28427
Alpine:v3.24element-web1.11.26-r0ALPINE-CVE-2023-28427
Debian:12thunderbird1:102.9.1-1DEBIAN-CVE-2023-28427
Debian:13thunderbird1:102.9.1-1DEBIAN-CVE-2023-28427
Debian:14thunderbird1:102.9.1-1DEBIAN-CVE-2023-28427
Rocky Linux:8thunderbird0:102.10.0-2.el8_7RLSA-2023:1802
Rocky Linux:9thunderbird0:102.10.0-2.el9_1RLSA-2023:1809
Ubuntu:22.04:LTSnode-matrix-js-sdkno fix listedUBUNTU-CVE-2023-28427
Ubuntu:24.04:LTSnode-matrix-js-sdkno fix listedUBUNTU-CVE-2023-28427
npmmatrix-js-sdk24.0.0GHSA-mwq8-fjpf-c2gr

Affected products (as reported)

VendorProductVersions
matrix-org matrix-js-sdk < 24.0.0

Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

References