CVE-2024-22422

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*

History

25 Jan 2024, 22:19

Type Values Removed Values Added
CPE cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Mintplexlabs anythingllm
Mintplexlabs
References () https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-xmj6-g32r-fc5q - () https://github.com/Mintplex-Labs/anything-llm/security/advisories/GHSA-xmj6-g32r-fc5q - Exploit, Mitigation, Vendor Advisory
References () https://github.com/Mintplex-Labs/anything-llm/commit/08d33cfd8fc47c5052b6ea29597c964a9da641e2 - () https://github.com/Mintplex-Labs/anything-llm/commit/08d33cfd8fc47c5052b6ea29597c964a9da641e2 - Patch

19 Jan 2024, 01:51

Type Values Removed Values Added
New CVE

Information

Published : 2024-01-19 01:15

Updated : 2024-02-28 20:54


NVD link : CVE-2024-22422

Mitre link : CVE-2024-22422

CVE.ORG link : CVE-2024-22422


JSON object : View

Products Affected

mintplexlabs

  • anythingllm
CWE
CWE-754

Improper Check for Unusual or Exceptional Conditions