Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. matrix-js-sdk
  4. ›
  5. CVE-2022-39236

CVE-2022-39236: Improper Input Validation

September 28, 2022 (updated December 8, 2022)

Matrix Javascript SDK is the Matrix Client-Server SDK for JavaScript. Starting with version 17.1.0-rc.1, improperly formed beacon events can 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 is patched in matrix-js-sdk v19.7.0. Redacting applicable events, waiting for the sync processor to store data, and restarting the client are possible workarounds. Alternatively, redacting the applicable events and clearing all storage will fix the further perceived issues. Downgrading to an unaffected version, noting that such a version may be subject to other vulnerabilities, will additionally resolve the issue.

References

  • github.com/advisories/GHSA-hvv8-5v86-r45x
  • github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76
  • github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0
  • github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-hvv8-5v86-r45x
  • github.com/matrix-org/matrix-spec-proposals/pull/3488
  • nvd.nist.gov/vuln/detail/CVE-2022-39236

Code Behaviors & Features

Detect and mitigate CVE-2022-39236 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 17.1.0 before 19.7.0

Fixed versions

  • 19.7.0

Solution

Upgrade to version 19.7.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Source file

npm/matrix-js-sdk/CVE-2022-39236.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 13 May 2025 00:14:47 +0000.