Description


matrix-media-repo is an open-source multi-domain media repository for Matrix. Versions 1.2.6 and earlier of matrix-media-repo do not properly handle malicious images which are crafted to be small in file size, but large in complexity. A malicious user could upload a relatively small image in terms of file size, using particular image formats, which expands to have extremely large dimensions during the process of thumbnailing. The server can be exhausted of memory in the process of trying to load the whole image into memory for thumbnailing, leading to denial of service. Version 1.2.7 has a fix for the vulnerability.

Weaknesses



CWE-400


CWE-770

CVSS impact metrics


CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

5.7 · Medium

Information


Source identifier

[email protected]

Vulnerability status

Modified

Published

2021-04-19T17:15:17.717Z

4 years ago

Last modified

2024-11-21T05:01:07.873Z

1 year ago