CVE-2024-11171: Improper Input Validation in danny-avila/librechat
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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-11171?
CVE-2024-11171 is classified as a high severity vulnerability due to the potential for denial of service attacks from uncontrolled file upload sizes.
How do I fix CVE-2024-11171?
To fix CVE-2024-11171, configure multer middleware to impose size limits on file uploads when using in-memory storage.
Which versions of LibreChat are affected by CVE-2024-11171?
CVE-2024-11171 affects all versions of LibreChat prior to 0.7.6.
What type of vulnerability is described in CVE-2024-11171?
CVE-2024-11171 is an improper input validation vulnerability specifically related to multipart file uploads.
What can happen if CVE-2024-11171 is exploited?
If exploited, CVE-2024-11171 can lead to denial of service by allowing the upload of excessively large files without any restrictions.