Path traversal in Synapse - CVE-2021-41281
Published: November 24, 2021
Vulnerability identifier: #VU58357
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-41281
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when downloading remote media. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
Synapse
Fedora
matrix-synapse
Fedora
matrix-synapse
How to mitigate CVE-2021-41281
Install update from vendor's website.
Synapse - update to 1.47.1
matrix-synapse - addressed in versions 1.47.1-1.fc34, 1.47.1-1.fc35, 1.48.0-1.fc34, 1.48.0-1.fc35
matrix-synapse - addressed in versions 1.47.1-1.fc34, 1.47.1-1.fc35, 1.48.0-1.fc34, 1.48.0-1.fc35