Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting node-matrix-js-sdk package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.06% (25th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-NODEMATRIXJSSDK-3013196
  • published1 Sept 2022
  • disclosed28 Mar 2023

Introduced: 1 Sep 2022

CVE-2022-36059  (opens in a new tab)
CWE-1321  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 node-matrix-js-sdk.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-matrix-js-sdk package and not the node-matrix-js-sdk package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. In versions prior to 19.4.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 issue has been fixed in matrix-js-sdk 19.4.0 and users are advised to upgrade. Users unable to upgrade may mitigate this issue by redacting applicable events, waiting for the sync processor to store data, and restarting the client. Alternatively, redacting the applicable events and clearing all storage will often fix most perceived issues. In some cases, no workarounds are possible.

CVSS Scores

version 3.1