Skip to content

CVE-2021-29453 Denial of service through memory exhaustion

MediumCVSS 6.5 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
matrix-media-repo project matrix-media-repo < 1.2.7 1.2.7 Fixed
turt2live github.com/turt2live/matrix-media-repo = <= 1.2.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
matrix-media-repo project matrix-media-repo < 1.2.7 1.2.7
turt2live github.com/turt2live/matrix-media-repo = <= 1.2.6 No fix listed

References