stangirard/quivr Denial-of-Service Vulnerability in File Upload Feature

Vulnerability

A denial-of-service vulnerability has been identified in the file upload feature of stangirard/quivr version 0.0.298. This vulnerability allows unauthenticated attackers to cause excessive resource consumption by appending characters to the end of a multipart boundary in an HTTP request. The server processes each character individually, leading to resource exhaustion and making the service unavailable for all users.

Impact

Exploitation of this vulnerability causes severe server overload as it processes a massive number of appended characters, leading to significant performance degradation. This resource exhaustion can disrupt normal service operations, causing prolonged unresponsiveness and rendering the application unusable for legitimate users, despite the user interface appearing functional.

Reproduction

To reproduce this vulnerability, send a POST request to the '/upload' endpoint with a 'Content-Type' header indicating 'multipart/form-data' and a boundary that includes a large number of dashes. The request should include a file upload that is then appended with additional characters, such as dashes, to the multipart boundary. This can be automated with a script that adjusts the number of appended characters to achieve the desired level of resource consumption.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.8
impact
2.5
exploitability
9.5
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
10.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.