CVE-2021-29453

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:matrix-media-repo_project:matrix-media-repo:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:01

Type Values Removed Values Added
References () https://github.com/turt2live/matrix-media-repo/releases/tag/v1.2.7 - Release Notes, Third Party Advisory () https://github.com/turt2live/matrix-media-repo/releases/tag/v1.2.7 - Release Notes, Third Party Advisory
References () https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-j889-h476-hh9h - Patch, Third Party Advisory () https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-j889-h476-hh9h - Patch, Third Party Advisory
References () https://hub.docker.com/r/turt2live/matrix-media-repo/tags?page=1&ordering=last_updated - Third Party Advisory () https://hub.docker.com/r/turt2live/matrix-media-repo/tags?page=1&ordering=last_updated - Third Party Advisory
CVSS v2 : 4.0
v3 : 6.5
v2 : 4.0
v3 : 5.7

Information

Published : 2021-04-19 19:15

Updated : 2024-11-21 06:01


NVD link : CVE-2021-29453

Mitre link : CVE-2021-29453

CVE.ORG link : CVE-2021-29453


JSON object : View

Products Affected

matrix-media-repo_project

  • matrix-media-repo
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-770

Allocation of Resources Without Limits or Throttling