Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') Affecting element-web package, versions <1.11.4-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.06% (27th 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-ALPINE320-ELEMENTWEB-7009305
  • published23 May 2024
  • disclosed28 Mar 2023

Introduced: 28 Mar 2023

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

How to fix?

Upgrade Alpine:3.20 element-web to version 1.11.4-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream element-web package and not the element-web package as distributed by Alpine. See How to fix? for Alpine:3.20 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