matrix-synapse: Path traversal when downloading remote media (CVE-2021-41281)

Related Vulnerabilities: CVE-2021-41281  

Debian Bug report logs - #1000451
matrix-synapse: Path traversal when downloading remote media (CVE-2021-41281)

version graph

Reported by: "Benedikt Wildenhain (BO)" <benedikt.wildenhain@hs-bochum.de>

Date: Tue, 23 Nov 2021 12:51:01 UTC

Severity: important

Tags: security

Found in versions matrix-synapse/1.46.0-1, 1.47.0-1

Fixed in versions 1.47.1-1, 1.47.0-2~bpo10+1, 1.46.0-1~bpo11+3, 1.46.0-1~bpo10+2, 1.47.0-2~bpo11+1

Done: Andrej Shadura <andrewsh@debian.org>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Matrix Packaging Team <pkg-matrix-maintainers@lists.alioth.debian.org>:
Bug#1000451; Package matrix-synapse. (Tue, 23 Nov 2021 12:51:03 GMT) (full text, mbox, link).


Acknowledgement sent to "Benedikt Wildenhain (BO)" <benedikt.wildenhain@hs-bochum.de>:
New Bug report received and forwarded. Copy sent to Matrix Packaging Team <pkg-matrix-maintainers@lists.alioth.debian.org>. (Tue, 23 Nov 2021 12:51:03 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: "Benedikt Wildenhain (BO)" <benedikt.wildenhain@hs-bochum.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: matrix-synapse: Path traversal when downloading remote media (CVE-2021-41281)
Date: Tue, 23 Nov 2021 13:37:41 +0100
Package: matrix-synapse
Severity: important

Dear Maintainer,

Synapse up to 1.47.0 contains a security problem which allows to write
files outside of the configured directory for downloads.

See https://github.com/matrix-org/synapse/commits/v1.47.1
and in the future also
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41281

Regards,
Benedikt Wildenhain



Marked as fixed in versions 1.47.1-1. Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 12:57:05 GMT) (full text, mbox, link).


Marked as fixed in versions 1.46.0-1~bpo10+2. Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 12:57:05 GMT) (full text, mbox, link).


Marked as fixed in versions 1.46.0-1~bpo11+3. Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 12:57:06 GMT) (full text, mbox, link).


Marked as fixed in versions 1.47.0-2~bpo11+1. Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 12:57:06 GMT) (full text, mbox, link).


Marked as fixed in versions 1.47.0-2~bpo10+1. Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 12:57:07 GMT) (full text, mbox, link).


Marked Bug as done Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 12:57:07 GMT) (full text, mbox, link).


Notification sent to "Benedikt Wildenhain (BO)" <benedikt.wildenhain@hs-bochum.de>:
Bug acknowledged by developer. (Tue, 23 Nov 2021 12:57:08 GMT) (full text, mbox, link).


Marked as found in versions 1.47.0-1. Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 13:03:02 GMT) (full text, mbox, link).


Marked as found in versions matrix-synapse/1.46.0-1. Request was from Andrej Shadura <andrewsh@debian.org> to control@bugs.debian.org. (Tue, 23 Nov 2021 13:03:02 GMT) (full text, mbox, link).


Message sent on to "Benedikt Wildenhain (BO)" <benedikt.wildenhain@hs-bochum.de>:
Bug#1000451. (Tue, 23 Nov 2021 13:21:04 GMT) (full text, mbox, link).


Message #26 received at 1000451-submitter@bugs.debian.org (full text, mbox, reply):

From: Andrej Shadura <andrewsh@debian.org>
To: control@bugs.debian.org
Cc: 1000451-submitter@bugs.debian.org
Subject: fixed 1000451 in 1.47.1-1, fixed 1000451 in 1.46.0-1~bpo10+2, fixed 1000451 in 1.46.0-1~bpo11+3 ...
Date: Tue, 23 Nov 2021 13:52:40 +0100
fixed 1000451 1.47.1-1
fixed 1000451 1.46.0-1~bpo10+2
fixed 1000451 1.46.0-1~bpo11+3
fixed 1000451 1.47.0-2~bpo11+1
fixed 1000451 1.47.0-2~bpo10+1
close 1000451
thanks

-- 
Cheers,
  Andrej




Added tag(s) security. Request was from Salvatore Bonaccorso <carnil@debian.org> to control@bugs.debian.org. (Wed, 24 Nov 2021 06:30:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Nov 24 14:38:53 2021; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.