CVEvulnerability
CVE-2021-29453
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-04-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.7 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 4.0 MEDIUM — AV:N/AC:L/Au:S/C:N/I:N/A:P
- Weaknesses
- CWE-400, CWE-770
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.
Affected configurations
• matrix-media-repo project matrix-media-repo (< 1.2.7)
Related
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/security/advisories/GHSA-j889-h476-hh9h Patch, Third Party Advisory
- https://hub.docker.com/r/turt2live/matrix-media-repo/tags?page=1&ordering=last_updated Third Party Advisory
- https://github.com/turt2live/matrix-media-repo/releases/tag/v1.2.7 Release Notes, Third Party Advisory
- https://github.com/turt2live/matrix-media-repo/security/advisories/GHSA-j889-h476-hh9h Patch, Third Party Advisory
- https://hub.docker.com/r/turt2live/matrix-media-repo/tags?page=1&ordering=last_updated Third Party Advisory