CVE-2023-28427: Prototype pollution in matrix-js-sdk
Impact
In certain configurations, data sent by remote servers containing special strings in key locations could cause modifications of the Object.prototype, disrupting matrix-js-sdk functionality, causing denial of service and potentially affecting program logic.
(This is part 2, where CVE-2022-36059 / GHSA-rfv9-x7hh-xc32 is part 1. Part 2 covers remaining vectors not covered by part 1, found in a codebase audit scheduled after part 1.)
Patches The issue has been patched in matrix-js-sdk 24.0.0.
Workarounds None.
References
- Release blog post - The advisory GHSA-rfv9-x7hh-xc32 (CVE-2022-36059) refers to an initial set of vulnerable locations discovered and patched in matrix-js-sdk 19.4.0. We opted not to disclose that advisory while we performed an audit of the codebase and are now disclosing it jointly with this one.
For more information If you have any questions or comments about this advisory please email us at security at matrix.org.
Other sources
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.
Thunderbird users who use the Matrix chat protocol were vulnerable to a denial-of-service attack.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-28427?
CVE-2023-28427 is a vulnerability that affects Thunderbird users who use the Matrix chat protocol, allowing for a denial-of-service attack.
What is the impact of CVE-2023-28427?
This vulnerability allows modifications to the Object.prototype, disrupting matrix-js-sdk functionality, causing denial of service and potentially affecting program logic.
Which software versions are affected by CVE-2023-28427?
Thunderbird versions up to and including 1:91.12.0-1~deb10u1 and matrix-js-sdk versions up to and excluding 24.0.0 are affected.
How severe is CVE-2023-28427?
CVE-2023-28427 has a severity score of 8.2 (High).
How can I fix CVE-2023-28427?
To fix CVE-2023-28427, it is recommended to update Thunderbird to version 1:115.3.1-1~deb10u1 (or higher) and matrix-js-sdk to version 24.0.0 (or higher).