CVE-2024-3104
Mintplexlabs Anythingllm remote code execution
- Published6 Jun 2024
Description
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.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
Frequently asked
Is CVE-2024-3104 being actively exploited?
CVE-2024-3104 is not in the CISA KEV catalog. Its EPSS exploit probability is 0.98%.
How severe is CVE-2024-3104?
CVE-2024-3104 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 0.98% probability of exploitation.
Which products are affected by CVE-2024-3104?
Affected products include Mintplexlabs Anythingllm.
How do I fix CVE-2024-3104?
Upgrade affected software to a fixed version, for example Mintplexlabs Anythingllm 1.0.0 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2024-3104 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.