Vulnerability · Published Mar 28, 2023 · Assigned by GitHub_M
CVE-2022-36060Prototype pollution in matrix-react-sdk
High 8.2
In plain English
A high-severity prototype pollution in matrix-react-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 0.9% (higher than 60% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
matrix-react-sdk is a Matrix chat protocol SDK for React Javascript. Events sent with special strings in key places can temporarily disrupt or impede the matrix-react-sdk from functioning properly, such as by causing room or event tile crashes. The remainder of the application can appear functional, though certain rooms/events will not be rendered. This issue has been fixed in matrix-react-sdk 3.53.0 and users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | element-web | 1.11.4-r0 | ALPINE-CVE-2022-36060 |
| Alpine:v3.21 | element-web | 1.11.4-r0 | ALPINE-CVE-2022-36060 |
| Alpine:v3.22 | element-web | 1.11.4-r0 | ALPINE-CVE-2022-36060 |
| Alpine:v3.23 | element-web | 1.11.4-r0 | ALPINE-CVE-2022-36060 |
| Alpine:v3.24 | element-web | 1.11.4-r0 | ALPINE-CVE-2022-36060 |
| npm | matrix-react-sdk | 3.53.0 | GHSA-2x9c-qwgf-94xr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| matrix-org | matrix-react-sdk | < 3.53.0 |
Weakness: CWE-1321 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H