AnythingLLM is an application that turns any document, resource, or piece of content into context that any LLM can use as references during chatting. In versions prior to commit `08d33cfd8` an unauthenticated API route (file export) can allow attacker to crash the server resulting in a denial of service attack. The “data-export” endpoint is used to export files using the filename parameter as user input. The endpoint takes the user input, filters it to avoid directory traversal attacks, fetches the file from the server, and afterwards deletes it. An attacker can trick the input filter mechanism to point to the current directory, and while attempting to delete it the server will crash as there is no error-handling wrapper around it. Moreover, the endpoint is public and does not require any form of authentication, resulting in an unauthenticated Denial of Service issue, which crashes the instance using a single HTTP packet. This issue has been addressed in commit `08d33cfd8`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-01-19T00:18:02.008Z

Updated: 2024-09-10T20:12:29.752Z

Reserved: 2024-01-10T15:09:55.555Z

Link: CVE-2024-22422

cve-icon Vulnrichment

Updated: 2024-08-01T22:43:34.924Z

cve-icon NVD

Status : Modified

Published: 2024-01-19T01:15:09.123

Modified: 2024-11-21T08:56:15.487

Link: CVE-2024-22422

cve-icon Redhat

No data.