Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-39251

8.6 · HIGH
Published Sep 28, 2022 matrix CWE-287 EPSS 0.95% (59th pctl)

Overview

CVE-2022-39251 is a high-severity vulnerability affecting matrix javascript_sdk. It was published on September 28, 2022 and has a CVSS 3.1 base score of 8.6 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.6, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

Matrix Javascript SDK is the Matrix Client-Server SDK for JavaScript. Prior to version 19.7.0, an attacker cooperating with a malicious homeserver can construct messages that legitimately appear to have come from another person, without any indication such as a grey shield. Additionally, a sophisticated attacker cooperating with a malicious homeserver could employ this vulnerability to perform a targeted attack in order to send fake to-device messages appearing to originate from another user. This can allow, for example, to inject the key backup secret during a self-verification, to make a targeted device start using a malicious key backup spoofed by the homeserver. These attacks are possible due to a protocol confusion vulnerability that accepts to-device messages encrypted with Megolm instead of Olm. Starting with version 19.7.0, matrix-js-sdk has been modified to only accept Olm-encrypted to-device messages. Out of caution, several other checks have been audited or added. This attac

Remediation

Check the references section for vendor advisories and patches from matrix. Update javascript_sdk to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
matrix javascript_sdk >= 0, < 19.7.0 Affected

Frequently Asked Questions

What is CVE-2022-39251?

CVE-2022-39251 is a high-severity vulnerability affecting matrix javascript_sdk. It was published on September 28, 2022 and has a CVSS 3.1 base score of 8.6 (HIGH).

How severe is CVE-2022-39251?

This vulnerability has a CVSS 3.1 base score of 8.6, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-39251?

Check the references section for vendor advisories and patches from matrix. Update javascript_sdk to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-39251?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-39251 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.