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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | thunderbird | 102.10.0-2.el8_7.alma | ALSA-2023:1802 |
| AlmaLinux:9 | thunderbird | 102.10.0-2.el9_1.alma | ALSA-2023:1809 |
| Alpine:v3.20 | element-web | 1.11.26-r0 | ALPINE-CVE-2023-28427 |
| Alpine:v3.21 | element-web | 1.11.26-r0 | ALPINE-CVE-2023-28427 |
| Alpine:v3.22 | element-web | 1.11.26-r0 | ALPINE-CVE-2023-28427 |
| Alpine:v3.23 | element-web | 1.11.26-r0 | ALPINE-CVE-2023-28427 |
| Alpine:v3.24 | element-web | 1.11.26-r0 | ALPINE-CVE-2023-28427 |
| Debian:12 | thunderbird | 1:102.9.1-1 | DEBIAN-CVE-2023-28427 |
| Debian:13 | thunderbird | 1:102.9.1-1 | DEBIAN-CVE-2023-28427 |
| Debian:14 | thunderbird | 1:102.9.1-1 | DEBIAN-CVE-2023-28427 |
| Rocky Linux:8 | thunderbird | 0:102.10.0-2.el8_7 | RLSA-2023:1802 |
| Rocky Linux:9 | thunderbird | 0:102.10.0-2.el9_1 | RLSA-2023:1809 |
| Ubuntu:22.04:LTS | node-matrix-js-sdk | no fix listed | UBUNTU-CVE-2023-28427 |
| Ubuntu:24.04:LTS | node-matrix-js-sdk | no fix listed | UBUNTU-CVE-2023-28427 |
| npm | matrix-js-sdk | 24.0.0 | GHSA-mwq8-fjpf-c2gr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-mwq8-fjpf-c2gr x_refsource_CONFIRM
- https://matrix.org/blog/2023/03/28/security-releases-matrix-js-sdk-24-0-0-and-matrix-react-sdk-3-69-0 x_refsource_MISC
- https://www.debian.org/security/2023/dsa-5392
- https://lists.debian.org/debian-lts-announce/2023/04/msg00027.html
- https://security.gentoo.org/glsa/202305-36