Vulnerability · Published May 26, 2023 · Assigned by GitHub_M

CVE-2022-39374Synapse Denial of service due to incorrect application of event authorization rules during state resolution

Medium 6.5

In plain English

A medium-severity uncontrolled resource consumption in synapse from matrix-org. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)6.5Medium
Exploit odds (30 days)0.9%top 38.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. If Synapse and a malicious homeserver are both joined to the same room, the malicious homeserver can trick Synapse into accepting previously rejected events into its view of the current state of that room. This can be exploited in a way that causes all further messages and state changes sent in that room from the vulnerable homeserver to be rejected. This issue has been patched in version 1.68.0

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20synapse1.68.0-r0ALPINE-CVE-2022-39374
Alpine:v3.21synapse1.68.0-r0ALPINE-CVE-2022-39374
Alpine:v3.22synapse1.68.0-r0ALPINE-CVE-2022-39374
Alpine:v3.23synapse1.68.0-r0ALPINE-CVE-2022-39374
Alpine:v3.24synapse1.68.0-r0ALPINE-CVE-2022-39374
Debian:14matrix-synapse1.68.0-1DEBIAN-CVE-2022-39374
PyPImatrix-synapse1.68.0rc1GHSA-p9qp-c452-f9r7
PyPImatrix-synapse1.68.0PYSEC-2023-66

Affected products (as reported)

VendorProductVersions
matrix-org synapse >= 1.62.0, < 1.68.0

Weakness: CWE-400 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References