PT-2025-12102 · Librechat · Librechat

Publicado

2025-03-20

·

Atualizado

2025-03-20

·

CVE-2024-11171

CVSS v3.1

7.5

Alta

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions danny-avila/librechat versions prior to 0.7.6
Description The issue is related to improper input validation, specifically with the handling of multipart file uploads using multer middleware. When in-memory storage is used, there is no limit on the upload file size, which can cause a server crash due to out-of-memory errors when handling large files. An attacker without any privileges can exploit this to cause a complete denial of service.
Recommendations For versions prior to 0.7.6, update to version 0.7.6 to resolve the issue. As a temporary workaround, consider configuring multer to use disk storage instead of in-memory storage to limit the upload file size and prevent out-of-memory errors. Restrict access to large file uploads to minimize the risk of exploitation.

Exploit

Correção

RCE

Allocation of Resources Without Limits

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2024-11171

Produtos afetados

Librechat