CVE-2021-29453CWE-400

Denial of service through memory exhaustion

Medium · published April 19, 2021

CVSS v3.1
5.7
EPSS
1%
Percentile
62.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.7 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01002 · 62.5th percentile
Weakness
CWE-400 · Uncontrolled Resource Consumption
Published
2021-04-19T18:55Z
EPSS history
Timeline
  • 19 APR 18:55Z
    Denial of service through memory exhaustion
    cvelistv5