Advisories
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
Security vulnerabilities, privacy incidents, safety concerns, and policy updates affecting LLMs and AI agents.
3,729 items
CVE-2024-1728 affects gradio-app/gradio because the UploadButton component does not properly validate user-supplied input. An attacker can manipulate the file path in a request to the /queue/join endpoint to read arbitrary files on the filesystem, such as private SSH keys. The flaw can also redirect file uploads to unintended server locations and could potentially lead to remote code execution.
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. The `hf_chat_template` method passes the `chat_template` parameter from `tokenizer_config.json` through the Jinja template engine without proper sanitization. Attackers can craft malicious `tokenizer_config.json` files to execute arbitrary code on the server.
A stored Cross-Site Scripting (XSS) flaw in the chat functionality of mintplex-labs/anything-llm lets attackers run arbitrary JavaScript in a user's session. The flaw stems from improper sanitization of user and ChatBot input through `dangerouslySetInnerHTML`, and exploitation requires convincing an admin to add a malicious LocalAI ChatBot to their instance. Successful exploitation can lead to creating an admin account or changing a user's password, resulting in full takeover of the AnythingLLM application.
A Denial of Service vulnerability exists in the mintplex-labs/anything-llm repository when the application runs in 'just me' mode with a password. An attacker can send a request to an endpoint using the [validatedRequest] middleware with a specially crafted 'Authorization:' header. This leads to uncontrolled resource consumption and a DoS condition.
A mass assignment flaw in mintplex-labs/anything-llm lets users with manager roles escalate to admin. The '/admin/system-preferences' endpoint accepts a full JSON object without validating modifiable fields, so managers can change the 'multi_user_mode' system variable. That lets them reach '/api/system/enable-multi-user' and create a new admin user.
In mintplex-labs/anything-llm, an improper input validation flaw lets an attacker escalate privileges by deactivating 'Multi-User Mode' with a crafted curl request that sets the 'multi_user_mode' parameter to false. The same request then permits creating a new admin user without a password, giving unauthorized administrative access.
A flaw in the `safe_eval` function of the `exec_utils` class in the `llama_index` package allows prompt injection to lead to arbitrary code execution. Insufficient input validation lets an attacker bypass method restrictions and run unauthorized code. It bypasses the previously addressed CVE-2023-39662, and a proof of concept creates a file on the system.
CVE-2024-3025 affects mintplex-labs/anything-llm. Insufficient validation of user-supplied input in the logo filename functionality allows path traversal, so an attacker can reference files outside the restricted directory via the `/api/system/upload-logo` and `/api/system/logo` endpoints. This enables unauthorized reading or deletion of files, including the application's database.
CVE-2024-2217 affects gaizhenbiao/chuanhuchatgpt, which has improper access control over its `config.json` file. The flaw exists in both authenticated and unauthenticated versions of the application, letting attackers retrieve sensitive data such as API keys (`openai_api_key`, `google_palm_api_key`, `xmchat_api_key`), configuration details and user credentials. The cause is that the application's handling of HTTP requests for `config.json` does not restrict access based on user authentication.
CVE-2024-2029 is a command injection flaw in the `TranscriptEndpoint` of mudler/localai, within the `audioToWav` function that converts audio files to WAV for transcription. User-supplied filenames are passed to ffmpeg through a shell command without sanitization, letting an attacker run arbitrary commands on the host. Impact depends on the privileges of the process running the code.
A Local File Inclusion (LFI) flaw in parisneo/lollms-webui affects the /personalities route. An attacker can send a URL containing URL-encoded directory traversal sequences (../../) followed by a system file path, and read any file the web server can access. The cause is improper control of the filename in an include/require statement.
An OS Command Injection flaw exists in the '/open_code_folder' endpoint of the parisneo/lollms-webui application. Improper validation of the user-supplied 'discussion_id' parameter lets attackers inject OS commands that run on the underlying operating system, which could lead to unauthorized access, data leakage, or complete system compromise.
CVE-2024-2734 affects the Bold Page Builder plugin for WordPress, in all versions up to and including 4.8.8. Insufficient input sanitization and output escaping on user-supplied attributes in the plugin's AI features enable Stored Cross-Site Scripting. An authenticated attacker with contributor-level access or above can inject arbitrary web scripts into pages, which execute whenever a user accesses an injected page.
CVE-2024-29063 is an information disclosure vulnerability in Azure AI Search. The source text gives no further detail on the flaw, the affected versions, or how it is reached.
CVE-2024-28224 affects Ollama before 0.1.29. A DNS rebinding vulnerability can inadvertently allow remote access to the full API, letting an unauthorized user chat with a large language model, delete a model, or cause a denial of service through resource exhaustion. The weakness is classified as CWE-346 (Origin Validation Error).
Fix: Fixed in 0.1.29 or later, per the Ollama releases page cited in the references.
NVD/CVE DatabaseCVE-2024-30264 is a reflected cross-site scripting (XSS) flaw in the sign-in page of typebot.io, an open-source chatbot builder, prior to version 2.24.0. The sign-in page reads the `redirectPath` parameter from the URL, and a crafted link using a javascript scheme in that parameter can run arbitrary JavaScript with the victim's privileges if the user clicks it, potentially allowing account hijacking.
Fix: Fixed in 2.24.0, which contains a patch for this issue.
A Cross-Site Request Forgery (CSRF) flaw in parisneo/lollms-webui lets remote attackers run arbitrary code on a victim's system. The `/execute_code` API endpoint does not properly validate requests, so a malicious webpage can submit a form to the victim's local lollms-webui instance and execute arbitrary OS commands. The attacker gains full control of the victim's system without direct network access to the application.
CVE-2024-1729 is a timing attack vulnerability in the gradio-app/gradio repository, within the login function in routes.py. The login check uses a direct comparison, app.auth[username] == password, so an attacker can guess passwords by measuring response times, and successful exploitation could allow authentication bypass and unauthorized access. NVD has not yet provided an assessment.
Fix: The source links a commit (https://github.com/gradio-app/gradio/commit/e329f1fd38935213fe0e73962e8cbd5d3af6e87b) and a huntr.dev bounty page tagged as Patch, but it does not describe the fix or a fixed version in its…
CVE-2024-28233 affects JupyterHub, a multi-user server for Jupyter notebooks. By tricking a user into visiting a malicious subdomain, an attacker can run XSS that affects the user's session, potentially gaining full access to the JupyterHub API and the user's single-user server. Single-origin deployments and deployments with user-controlled applications on subdomains or peer subdomains of the Hub or a single-user server are affected.
Fix: Fixed in 4.1.0.
CVE-2024-2206 is an SSRF flaw in gradio-app/gradio caused by insufficient validation of user-supplied URLs in the `/proxy` route. An attacker can add arbitrary URLs to `self.replica_urls` through the `X-Direct-Url` header on requests to `/` and `/config`, enabling unauthorized proxying and potential access to internal endpoints within the Hugging Face space.