Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-41281

published high CVSS 3.1 · 7.5

Path traversal in Matrix Synapse

Published
23 Nov 2021, 19:15:18 UTC
Updated
04 Aug 2024, 03:08:31 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
matrix-org — synapse< 1.47.1 Affected Not stated GitHub_M
Alpine Linux edge synapse Fixed 1.47.1-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed matrix-synapseaarch64 Advisory build 1.47.1-1.1 OPENSUSE-SU-2024:11649-1
Alpine Linux v3.15 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.16 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.17 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.18 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.19 synapse Fixed 1.47.1-r0 Package fix record
Show 8 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.20 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.21 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.22 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.23 synapse Fixed 1.47.1-r0 Package fix record
Alpine Linux v3.24 synapse Fixed 1.47.1-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed matrix-synapseppc64le Advisory build 1.47.1-1.1 OPENSUSE-SU-2024:11649-1
SUSE / openSUSE openSUSE-Tumbleweed matrix-synapses390x Advisory build 1.47.1-1.1 OPENSUSE-SU-2024:11649-1
SUSE / openSUSE openSUSE-Tumbleweed matrix-synapsex86_64 Advisory build 1.47.1-1.1 OPENSUSE-SU-2024:11649-1

Description

Synapse is a package for Matrix homeservers written in Python 3/Twisted. Prior to version 1.47.1, Synapse instances with the media repository enabled can be tricked into downloading a file from a remote server into an arbitrary directory. No authentication is required for the affected endpoint. The last 2 directories and file name of the path are chosen randomly by Synapse and cannot be controlled by an attacker, which limits the impact. Homeservers with the media repository disabled are unaffected. Homeservers with a federation whitelist are also unaffected, since Synapse will check the remote hostname, including the trailing `../`s, against the whitelist. Server administrators should upgrade to 1.47.1 or later. Server administrators using a reverse proxy could, at the expense of losing media functionality, may block the certain endpoints as a workaround. Alternatively, non-containerized deployments can be adapted to use the hardened systemd config.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

12

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
matrix-org synapse < 1.47.1 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (GitHub_M · cna)

References

5

Provider assertions

2

GitHub_M · cna

Path traversal in Matrix Synapse

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
86b2fe1482f469c717eacab16d234be894336062bc8b0f785f36622ce431eb7b
Ingested
23 Sep 2026, 07:56:14 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected