Security readout for executives and security teams
Plain-English summary
CVE-2022-31052 is a denial-of-service flaw in Matrix Synapse URL previews. A crafted or problematic web page preview can exhaust stack space and may crash the Synapse process. The issue affects availability, not confidentiality or integrity, and only matters where URL previews are enabled on vulnerable Synapse versions.
Executive priority
Treat as a moderate availability risk for Matrix services with URL previews enabled. Prioritize upgrade or disablement where chat availability is business-critical, especially on public or federated homeservers.
Technical view
Synapse versions before 1.61.1 can hit unbounded recursion during URL preview processing, causing stack exhaustion. The preview endpoint is authenticated, but exposure can include malicious local users or remote users whose URLs trigger automatic previews by local clients. CWE-674 is listed.
Likely exposure
Likely exposure is Matrix Synapse homeservers before 1.61.1 with `url_preview_enabled: true`, including media repositories or monolith deployments. Deployments with previews disabled, or no value set because the default is false, are not affected according to the advisory.
Exploitation context
The source bundle says malicious exploitation is possible, but does not cite active exploitation, and KEV is false. Remote users cannot directly call the authenticated preview endpoint, but may indirectly trigger previews when local users' clients request them.
Researcher notes
The evidence is strongest for affected versions, configuration dependency, and vendor remediation. The bundle does not provide active exploitation evidence or affected non-Synapse products. Avoid assuming direct unauthenticated remote exploitation.
Mitigation direction
- Upgrade Synapse to version 1.61.1 or later.
- If unable to upgrade, set `url_preview_enabled` to false.
- Confirm distro-managed Synapse packages include the vendor fix.
- Check Matrix/Synapse vendor guidance before relying on alternate mitigations.
Validation and detection
- Inventory Synapse versions across homeserver and media repository deployments.
- Check configuration for `url_preview_enabled: true`.
- Confirm the running service is Synapse 1.61.1 or later after upgrade.
- Review service logs for crashes or restarts tied to URL preview requests.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-674: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2022-31052 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 6.5 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H2.83.6Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
6.5MediumVector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/matrix-org/synapse/security/advisories/GHSA-22p3-qrh9-cx32CVE reference · x_refsource_CONFIRM
- https://github.com/matrix-org/synapse/commit/fa1308061802ac7b7d20e954ba7372c5ac292333CVE reference · x_refsource_MISC
- https://spec.matrix.org/v1.2/client-server-api/#get_matrixmediav3preview_urlCVE reference · x_refsource_MISC
- FEDORA-2022-45bf6d4b88CVE reference · vendor-advisory, x_refsource_FEDORA
- FEDORA-2022-1a2312e4d6CVE reference · vendor-advisory, x_refsource_FEDORA
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Uncontrolled Recursion
Uncontrolled Recursion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
