matrix-js-sdk
Affected
- introduced
0, fixed19.4.0(semver)
Fixed versions
19.4.0
Fix
- Fixed version
19.4.0npm install [email protected]
Advisory
Also known as: CVE-2022-36059
matrix-js-sdk Prototype Pollution vulnerability
Impact
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.
Patches
This is fixed in matrix-js-sdk 19.4.0.
Workarounds
Redacting applicable events, waiting for the sync processor to store data, and restarting the client can often fix it. Alternatively, redacting the applicable events and clearing all storage will often fix most perceived issues.
In some cases, no workarounds are possible.
References
https://learn.snyk.io/lessons/prototype-pollution/javascript/
For more information
If you have any questions or comments about this advisory please email us at [security at matrix.org](mailto:[email protected]).
High Basis: The source's own band: HIGH
0, fixed 19.4.0 (semver)19.4.0
19.4.0npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0