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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | synapse | 1.68.0-r0 | ALPINE-CVE-2022-39374 |
| Alpine:v3.21 | synapse | 1.68.0-r0 | ALPINE-CVE-2022-39374 |
| Alpine:v3.22 | synapse | 1.68.0-r0 | ALPINE-CVE-2022-39374 |
| Alpine:v3.23 | synapse | 1.68.0-r0 | ALPINE-CVE-2022-39374 |
| Alpine:v3.24 | synapse | 1.68.0-r0 | ALPINE-CVE-2022-39374 |
| Debian:14 | matrix-synapse | 1.68.0-1 | DEBIAN-CVE-2022-39374 |
| PyPI | matrix-synapse | 1.68.0rc1 | GHSA-p9qp-c452-f9r7 |
| PyPI | matrix-synapse | 1.68.0 | PYSEC-2023-66 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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