Synapse up to 1.61.0 improper check or handling of exceptional conditions
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.6 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Synapse up to 1.61.0. The affected element is an unknown function. The manipulation results in improper check or handling of exceptional conditions. This vulnerability is known as CVE-2022-31152. It is possible to launch the attack remotely. No exploit is available. The affected component should be upgraded.
Details
A vulnerability, which was classified as problematic, was found in Synapse up to 1.61.0. Affected is an unknown part. The manipulation with an unknown input leads to a improper check or handling of exceptional conditions vulnerability. CWE is classifying the issue as CWE-703. The product does not properly anticipate or handle exceptional conditions that rarely occur during normal operation of the product. This is going to have an impact on availability. CVE summarizes:
Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.
The weakness was published 09/03/2022 as GHSA-jhjh-776m-4765. The advisory is shared for download at github.com. This vulnerability is traded as CVE-2022-31152 since 05/18/2022. There are neither technical details nor an exploit publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 251138 (Linux Distros Unpatched Vulnerability : CVE-2022-31152), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.62.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (251138). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Name
Version
- 1.0
- 1.1
- 1.2
- 1.3
- 1.4
- 1.5
- 1.6
- 1.7
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
- 1.18
- 1.19
- 1.20
- 1.21
- 1.22
- 1.23
- 1.24
- 1.25
- 1.26
- 1.27
- 1.28
- 1.29
- 1.30
- 1.31
- 1.32
- 1.33
- 1.34
- 1.35
- 1.36
- 1.37
- 1.38
- 1.39
- 1.40
- 1.41
- 1.42
- 1.43
- 1.44
- 1.45
- 1.46
- 1.47
- 1.48
- 1.49
- 1.50
- 1.51
- 1.52
- 1.53
- 1.54
- 1.55
- 1.56
- 1.57
- 1.58
- 1.59
- 1.60
- 1.61.0
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.7VulDB Meta Temp Score: 5.6
VulDB Base Score: 3.1
VulDB Temp Score: 3.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 6.4
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Improper check or handling of exceptional conditionsCWE: CWE-703
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 251138
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-31152
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Synapse 1.62.0
Patch: github.com
Timeline
05/18/2022 🔍09/03/2022 🔍
09/03/2022 🔍
08/18/2025 🔍
Sources
Advisory: GHSA-jhjh-776m-4765Status: Confirmed
CVE: CVE-2022-31152 (🔍)
GCVE (CVE): GCVE-0-2022-31152
GCVE (VulDB): GCVE-100-207840
Entry
Created: 09/03/2022 08:27Updated: 08/18/2025 19:37
Changes: 09/03/2022 08:27 (51), 10/13/2022 07:37 (11), 08/18/2025 19:37 (16)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.