Uncontrolled Recursion in Synapse - CVE-2022-31052

 

Uncontrolled Recursion in Synapse - CVE-2022-31052

Published: May 22, 2023


Vulnerability identifier: #VU76405
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31052
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to an uncontrolled recursion when handling URL previews. A remote attacker can pass a specially crafted web page to the application and perform a denial of service (DoS) attack.


Affected software

Synapse
Fedora
matrix-synapse

How to mitigate CVE-2022-31052

Install updates from vendor's website.

Synapse - update to 1.61.1
matrix-synapse - addressed in versions 1.61.1-1.fc35, 1.61.1-1.fc36

External References

Related Security Bulletins