CVE-2021-41281: fedoraproject fedora Path Traversal
Vulnerability summary
CVE-2021-41281 is a high (CVSS 7.5) Path Traversal vulnerability in fedoraproject fedora. EPSS estimates a 1.58% chance of exploitation in the next 30 days, higher than 75.1% of scored vulnerabilities.
Timeline
- 23-11-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
1.58%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
0.00 pp
From 1.58% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian1 product
- matrix-synapse< 1.47.1-1
Fedoraproject1 product
- fedoraEOL34 | 35
Matrix1 product
- synapse< 1.47.1
Matrix-org1 product
- synapse< 1.47.1
Opensuse1 product
- matrix-synapse&distro=openSUSE Tumbleweed< 1.47.1-1.1
PyPI1 product
- matrix-synapse< 91f2bd0907f1d05af67166846988e49644eb650c | < 1.47.1
Ubuntu1 product
- matrix-synapseAll versions (No fix recorded)
7 vendors · 7 products
References
15 links- github.com/matrix-org/synapse/security/advisories/GHSA-3hfw-x7gx-437cX Refsource CONFIRMWEBAdvisoryREPORTMitigationThird Party Advisory
- github.com/matrix-org/synapse/releases/tag/v1.47.1X Refsource MISCWEBREPORTRelease NotesThird Party Advisory