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.
INFO
Published Date :
March 20, 2025, 10:15 a.m.
Last Modified :
Oct. 15, 2025, 1:15 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.0 | HIGH | [email protected] | 
Solution
- Update the application to version 0.7.6.
- Configure multer to limit file upload size.
- Implement validation for file upload sizes.
- Monitor server memory usage during uploads.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-11171.
                                        
| URL | Resource | 
|---|---|
| https://github.com/danny-avila/librechat/commit/bb58a2d0662ef86dc75a9d2f6560125c018e3836 | Patch | 
| https://huntr.com/bounties/91717a5a-d653-4e35-b186-9e8d00aa4285 | Exploit Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-11171 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-11171
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-11171 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-11171 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by [email protected]Oct. 15, 2025 Action Type Old Value New Value Added CWE CWE-770 Removed CWE CWE-20 
- 
                            Initial Analysis by [email protected]Jul. 15, 2025 Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:librechat:librechat:*:*:*:*:*:*:*:* versions up to (excluding) 0.7.6 Added Reference Type huntr.dev: https://github.com/danny-avila/librechat/commit/bb58a2d0662ef86dc75a9d2f6560125c018e3836 Types: Patch Added Reference Type huntr.dev: https://huntr.com/bounties/91717a5a-d653-4e35-b186-9e8d00aa4285 Types: Exploit, Third Party Advisory 
- 
                            New CVE Received by [email protected]Mar. 20, 2025 Action Type Old Value New Value Added 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. Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Added CWE CWE-20 Added Reference https://github.com/danny-avila/librechat/commit/bb58a2d0662ef86dc75a9d2f6560125c018e3836 Added Reference https://huntr.com/bounties/91717a5a-d653-4e35-b186-9e8d00aa4285 
 
                         
                         
                         
                                             
                                            