CVE-2021-41281: Path traversal in Matrix Synapse
matrix-org · synapse
Vendor fix available · Affected: matrix-org synapse · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 75% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- matrix-org · synapse< 1.47.1
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- matrix-org
- Published
- November 2021
CoverageNo articles yet
No CyberSIXT article names CVE-2021-41281 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-22cwe.mitre.org
- Vendor advisorylists.fedoraproject.org
- Vendor advisorylists.fedoraproject.org
- github.com/matrix-org/synapse/security/advisories/GHSA-3hfw-x7gxgithub.com
- github.com/matrix-org/synapse/commit/91f2bd090github.com
- github.com/matrix-org/synapse/releases/tag/v1.47.1github.com