What’s Vulnerable › Vulnerabilities

CVE-2024-11171: Improper Input Validation in danny-avila/librechat

Description

In danny-avila/librechat version git 0c2a583, there is an improper input validation vulnerability. The application uses multer middleware for handling multipart file uploads. When using in-memory storage (the default setting for multer), there is no limit on the upload file size. This can lead to a server crash due to out-of-memory errors when handling large files. An attacker without any privileges can exploit this vulnerability to cause a complete denial of service. The issue is fixed in version 0.7.6.

Affected products

How to fix

Upgrade to a fixed version: danny-avila LibreChat 0.7.6. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-11171 or the next vulnerability affects your stack