6.5

CVE-2022-31052: fedoraproject fedora Uncontrolled Recursion

CVSS: 6.5v3.1MediumModified
AliasesGHSA-22p3-qrh9-cx32PYSEC-2022-224UBUNTU-CVE-2022-31052
Published 28-06-2022Last modified 23-04-2025

Vulnerability summary

CVE-2022-31052 is a medium (CVSS 6.5) Uncontrolled Recursion vulnerability in fedoraproject fedora. EPSS estimates a 1.66% chance of exploitation in the next 30 days, higher than 76.3% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.66%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 28-06-2022
    PublishedVulnerability first disclosed.
  2. 23-04-2025
    Last modifiedVulnerability information updated.

Description

Synapse is an open source home server implementation for the Matrix chat network. In versions prior to 1.61.1 URL previews of some web pages can exhaust the available stack space for the Synapse process due to unbounded recursion. This is sometimes recoverable and leads to an error for the request causing the problem, but in other cases the Synapse process may crash altogether. It is possible to exploit this maliciously, either by malicious users on the homeserver, or by remote users sending URLs that a local user's client may automatically request a URL preview for. Remote users are not able to exploit this directly, because the URL preview endpoint is authenticated. Deployments with `url_preview_enabled: false` set in configuration are not affected. Deployments with `url_preview_enabled: true` set in configuration **are** affected. Deployments with no configuration value set for `url_preview_enabled` are not affected, because the default is `false`. Administrators of homeservers with URL previews enabled are advised to upgrade to v1.61.1 or higher. Users unable to upgrade should set `url_preview_enabled` to false.

CVSS metrics

7 scores · 5 sources · 3 versions

EPSS trend

Probability

1.66%

Chance of exploitation in the next 30 days

Percentile

76%

Versus all other CVEs

30-day change

0.00 pp

From 1.66% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.66%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • matrix-synapse< 1.61.1-1
Fedoraproject1 product
Matrix1 product
Matrix-org1 product
Opensuse1 product
  • matrix-synapse&distro=openSUSE Tumbleweed< 1.61.1-1.1
PyPI1 product
  • matrix-synapse< fa1308061802ac7b7d20e954ba7372c5ac292333 | < 1.61.1
Ubuntu1 product
  • matrix-synapseAll versions (No fix recorded)

7 vendors · 7 products

References

16 links
Show all 16 references