CVE-2024-3104

published 6 Jun 2024 · updated 1 Aug 2024

Remote Code Execution in mintplex-labs/anything-llm

9.6CriticalCVSS 9.6EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 1.0.0.

A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment variables. Attackers can exploit this vulnerability by injecting arbitrary environment variables via the `POST /api/system/update-env` endpoint, which allows for the execution of arbitrary code on the host running anything-llm. The vulnerability is present in the latest version of anything-llm, with the latest commit identified as fde905aac1812b84066ff72e5f2f90b56d4c3a59. This issue has been fixed in version 1.0.0. Successful exploitation could lead to code execution on the host, enabling attackers to read and modify data accessible to the user running the service, potentially leading to a denial of service.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Mintplex-Labs<1.0.01.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-3104 severity on Zeptric[![CVE-2024-3104](https://zeptric.io/badge/cve/CVE-2024-3104.svg)](https://zeptric.io/cve/CVE-2024-3104)