{"document":{"aggregate_severity":{"namespace":"https://www.suse.com/support/security/rating/","text":"moderate"},"category":"csaf_vex","csaf_version":"2.0","distribution":{"text":"Copyright 2024 SUSE LLC. All rights reserved.","tlp":{"label":"WHITE","url":"https://www.first.org/tlp/"}},"lang":"en","notes":[{"category":"summary","text":"SUSE CVE-2022-31052","title":"Title"},{"category":"description","text":"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.","title":"Description of the CVE"},{"category":"legal_disclaimer","text":"CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).","title":"Terms of use"}],"publisher":{"category":"vendor","contact_details":"https://www.suse.com/support/security/contact/","name":"SUSE Product Security Team","namespace":"https://www.suse.com/"},"references":[{"category":"external","summary":"CVE-2022-31052","url":"https://www.suse.com/security/cve/CVE-2022-31052"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1201229 for CVE-2022-31052","url":"https://bugzilla.suse.com/1201229"}],"title":"SUSE CVE CVE-2022-31052","tracking":{"current_release_date":"2025-03-15T07:32:41Z","generator":{"date":"2023-02-15T03:25:47Z","engine":{"name":"cve-database.git:bin/generate-csaf-vex.pl","version":"1"}},"id":"CVE-2022-31052","initial_release_date":"2023-02-15T03:25:47Z","revision_history":[{"date":"2023-02-15T03:25:47Z","number":"2","summary":"Current version"},{"date":"2025-01-01T03:03:45Z","number":"3","summary":"Current version"},{"date":"2025-02-14T07:43:21Z","number":"4","summary":"Current version"},{"date":"2025-02-16T07:26:19Z","number":"5","summary":"Current version"},{"date":"2025-03-15T07:32:41Z","number":"6","summary":"Current version"}],"status":"interim","version":"6"}},"product_tree":{"branches":[{"branches":[{"branches":[{"category":"product_name","name":"openSUSE Tumbleweed","product":{"name":"openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed","product_identification_helper":{"cpe":"cpe:/o:opensuse:tumbleweed"}}},{"category":"product_version","name":"matrix-synapse-1.61.1-1.1","product":{"name":"matrix-synapse-1.61.1-1.1","product_id":"matrix-synapse-1.61.1-1.1","product_identification_helper":{"cpe":"cpe:2.3:a:matrix:synapse:1.61.1:*:*:*:*:*:*:*","purl":"pkg:rpm/suse/matrix-synapse@1.61.1-1.1"}}}],"category":"product_family","name":"SUSE Linux Enterprise"}],"category":"vendor","name":"SUSE"}],"relationships":[{"category":"default_component_of","full_product_name":{"name":"matrix-synapse-1.61.1-1.1 as component of openSUSE Tumbleweed","product_id":"openSUSE Tumbleweed:matrix-synapse-1.61.1-1.1"},"product_reference":"matrix-synapse-1.61.1-1.1","relates_to_product_reference":"openSUSE Tumbleweed"}]},"vulnerabilities":[{"cve":"CVE-2022-31052","ids":[{"system_name":"SUSE CVE Page","text":"https://www.suse.com/security/cve/CVE-2022-31052"}],"notes":[{"category":"general","text":"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.","title":"CVE description"}],"product_status":{"recommended":["openSUSE Tumbleweed:matrix-synapse-1.61.1-1.1"]},"references":[{"category":"external","summary":"CVE-2022-31052","url":"https://www.suse.com/security/cve/CVE-2022-31052"},{"category":"external","summary":"SUSE Security Ratings","url":"https://www.suse.com/support/security/rating/"},{"category":"external","summary":"SUSE Bug 1201229 for CVE-2022-31052","url":"https://bugzilla.suse.com/1201229"}],"remediations":[{"category":"vendor_fix","details":"To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n","product_ids":["openSUSE Tumbleweed:matrix-synapse-1.61.1-1.1"]}],"scores":[{"cvss_v3":{"baseScore":6.5,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"products":["openSUSE Tumbleweed:matrix-synapse-1.61.1-1.1"]}],"threats":[{"category":"impact","date":"2022-06-28T22:00:13Z","details":"moderate"}],"title":"CVE-2022-31052"}]}