Denial of service through memory exhaustion
matrix-media-repo does 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.
Patched by 96d23d4
There are no known workarounds for preventing memory expanding