Multiple vulnerabilities in Matrix Javascript SDK



Published: 2022-09-29
Risk Medium
Patch available YES
Number of vulnerabilities 4
CVE-ID CVE-2022-39236
CVE-2022-39251
CVE-2022-39249
CVE-2022-39250
CWE-ID CWE-20
CWE-345
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Matrix Javascript SDK
Web applications / JS libraries

Vendor Matrix.org

Security Bulletin

This security bulletin contains information about 4 vulnerabilities.

1) Input validation error

EUVDB-ID: #VU67744

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-39236

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input when processing beacon events. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Matrix Javascript SDK: 17.1.0 - 19.6.0

External links

http://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76
http://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0
http://github.com/matrix-org/matrix-spec-proposals/pull/3488
http://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-hvv8-5v86-r45x


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Insufficient verification of data authenticity

EUVDB-ID: #VU67743

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-39251

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

Exploit availability: No

Description

he vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to a protocol confusion vulnerability that accepts to-device messages encrypted with Megolm instead of Olm. A remote attacker cooperating with a malicious home server can construct messages appearing to have come from another person without any indication such as a grey shield.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Matrix Javascript SDK: 0.1.0 - 19.6.0

External links

http://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76
http://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0
http://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients
http://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-r48r-j8fx-mq2c


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Insufficient verification of data authenticity

EUVDB-ID: #VU67742

Risk: Low

CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-39249

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to a very permissive key forwarding strategy. A remote attacker cooperating with a malicious home server can construct messages appearing to have come from another person.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Matrix Javascript SDK: 0.1.0 - 19.6.0

External links

http://github.com/matrix-org/matrix-js-sdk/commit/a587d7c36026fe1fcf93dfff63588abee359be76
http://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-6263-x97c-c4gg
http://github.com/matrix-org/matrix-js-sdk/releases/tag/v19.7.0
http://matrix.org/blog/2022/09/28/upgrade-now-to-address-encryption-vulns-in-matrix-sdks-and-clients
http://github.com/matrix-org/matrix-spec-proposals/pull/3061


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Insufficient verification of data authenticity

EUVDB-ID: #VU67745

Risk: Medium

CVSSv3.1: 4.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-39250

CWE-ID: CWE-345 - Insufficient Verification of Data Authenticity

Exploit availability: No

Description

The vulnerability allows a remote attacker to bypass SAS verification.

The vulnerability exists due to checking and signing user identities and devices in two separate steps, and inadequately fixing the keys to be signed between these steps. A remote attacker cooperating with a malicious home server can interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities, leading to the other device trusting/verifying the user identity under the control of the home server instead of the intended one.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Matrix Javascript SDK: 0.1.0 - 19.6.0

External links

http://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-5w8r-8pgj-5jmf


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###