CyberSecBulletin
CVE-2024-8249NVD status: Analyzed

mintplex-labs/anything-llm: Uncaught Exception

CVE-2024-8249 is a high-severity uncaught exception vulnerability in mintplex-labs/anything-llm from Mintplex-labs, with a CVSS 3.0 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 1.2.2 as the first without the flaw, so updating mintplex-labs/anything-llm to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.69% chance of exploitation within 30 days, higher than 53% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update mintplex-labs/anything-llm to 1.2.2 or a later version.
  2. Update Anythingllm to 1.2.2 or a later version.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Mintplex-labsmintplex-labs/anything-llmbefore 1.2.21.2.2
MintplexlabsAnythingllmbefore 1.2.21.2.2

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by CNA (huntr.dev).

Official description

mintplex-labs/anything-llm version git 6dc3642 contains an unauthenticated Denial of Service (DoS) vulnerability in the API for the embeddable chat functionality. An attacker can exploit this vulnerability by sending a malformed JSON payload to the API endpoint, causing a server crash due to an uncaught exception. This issue is fixed in version 1.2.2.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Uncaught Exception

An exception is thrown from a function, but it is not caught.

How developers prevent this class of flaw

  • The choice between a language which has named or unnamed exceptions needs to be done. While unnamed exceptions exacerbate the chance of not properly dealing with an exception, named exceptions suffer from the up call version of the weak base class problem.
  • A language can be used which requires, at compile time, to catch all serious exceptions. However, one must make sure to use the most current version of the API as new exceptions could be added.
  • Catch all relevant exceptions. This is the recommended solution. Ensure that all exceptions are handled in such a way that you can be sure of the state of your system at any given moment.

More Uncaught Exception vulnerabilities (CWE-248)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Technical write-ups (may include proof of concept)

Other vulnerabilities in mintplex-labs/anything-llm

All mintplex-labs/anything-llm vulnerabilities

Recent Uncaught Exception vulnerabilities

Spotted an error? Tell us.