CVE-2022-31052

Summary

CVECVE-2022-31052
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-06-28 17:15:00 UTC
Updated2023-11-07 03:47:00 UTC
DescriptionSynapse 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.

Risk And Classification

Problem Types: CWE-674

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Matrix Synapse All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 36 Update: matrix-synapse-1.61.1-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: matrix-synapse-1.61.1-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: matrix-synapse-1.61.1-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
URL previews of unusual or maliciously-crafted pages can crash Synapse media repositories or Synapse monoliths · Advisory · matrix-org/synapse · GitHub CONFIRM github.com
Merge pull request from GHSA-22p3-qrh9-cx32 · matrix-org/synapse@fa13080 · GitHub MISC github.com
Client-Server API | Matrix Specification MISC spec.matrix.org
[SECURITY] Fedora 36 Update: matrix-synapse-1.61.1-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 282920 Fedora Security Update for matrix (FEDORA-2022-1a2312e4d6)
  • 282921 Fedora Security Update for matrix (FEDORA-2022-45bf6d4b88)
  • 502369 Alpine Linux Security Update for synapse
  • 690888 Free Berkeley Software Distribution (FreeBSD) Security Update for py (07c0d782-f758-11ec-acaa-901b0e9408dc)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report