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-32022 is a command injection flaw in Kohya_ss, a GUI for Kohya's Stable Diffusion trainers. The vulnerable code is in basic_caption_gui.py.
Fix: Fixed in 23.1.5.
NVD/CVE DatabaseOpen WebUI, a user-friendly WebUI for LLMs, is vulnerable to authenticated blind server-side request forgery in open-webui (CVE-2024-30256). An attacker with a valid login can trigger the flaw, which makes the server issue requests the attacker directs.
Fix: Fixed in 0.1.117.
NVD/CVE DatabaseCVE-2024-3573 affects mlflow/mlflow, where improper URI parsing enables Local File Inclusion. The 'is_local_uri' function misclassifies URIs with empty or 'file' schemes as non-local, so an attacker who crafts a malicious model version with a specially crafted 'source' parameter can read arbitrary files, including sensitive files at least two directory levels from the server's root.
langchain-ai/langchain is vulnerable to path traversal in its LocalFileStore functionality, tracked as CVE-2024-3571. Because user-supplied input is not adequately sanitized in the mset and mget methods, directory traversal sequences can reach unintended directories. An attacker can read or write files anywhere on the filesystem, which could lead to information disclosure or remote code execution.
CVE-2024-2912 is an insecure deserialization flaw in the BentoML framework. A specially crafted POST request carrying a serialized object sent to any valid BentoML endpoint lets an attacker run arbitrary OS commands on the hosting server, enabling remote code execution and potential unauthorized access or control.
The /component_server endpoint in gradio-app/gradio lets callers invoke any method on a Component class with attacker-controlled arguments. Using the move_resource_to_block_cache() method of the Block class, an attacker can copy any file on the filesystem to a temporary directory and then retrieve it, enabling unauthorized local file read. The flaw poses a significant risk when apps are exposed via launch(share=True), and gradio apps hosted on huggingface.co are also affected, potentially exposing API keys and credentials stored in environment variables.
A path traversal flaw in the `_create_model_version()` function in `server/handlers.py` of the mlflow/mlflow repository stems from improper validation of the `source` parameter. A crafted `source` can bypass the checks in `_validate_non_local_source_contains_relative_paths(source)`, letting an attacker read arbitrary files on the server through the `/model-versions/get-artifact` handler.
CVE-2024-1483 is a path traversal vulnerability in mlflow/mlflow version 2.9.2 that allows attackers to access arbitrary files on the server. Crafted HTTP POST requests with specially crafted 'artifact_location' and 'source' parameters, using a local URI with '#' instead of '?', let an attacker traverse the server's directory structure. The flaw stems from insufficient validation of user-supplied input in the server's handlers.
CVE-2024-1183 is a Server-Side Request Forgery flaw in the gradio-app/gradio repository. By manipulating the 'file' parameter in a GET request, an attacker can infer the status of ports on an internal network from either a 'Location' header or a 'File not allowed' error in the response.
Fix: Patch: https://github.com/gradio-app/gradio/commit/2ad3d9e7ec6c8eeea59774265b44f11df7394bb4
NVD/CVE DatabaseA command injection flaw in the safe_eval function of the run-llama/llama_index repository lets attackers bypass its check for underscores in LLM-generated code. Crafted input without an underscore can still run OS commands, enabling remote code execution on the server hosting the application.
The zenml-io/zenml application does not invalidate JWT tokens used for user authentication when a user logs out. An attacker who obtains a victim's JWT token can reuse it to bypass authentication.
A directory traversal flaw in the zenml-io/zenml repository affects the /api/v1/steps endpoint. An attacker can manipulate the 'logs' URI path in a request to read arbitrary file content and bypass intended access restrictions, because directory traversal patterns are not validated.
In mintplex-labs/anything-llm, sending a malformed JSON payload to the '/system/enable-multi-user' endpoint triggers an error that a catch block handles by deleting all users and disabling 'multi_user_mode'. An attacker can then remove all existing users and potentially create a new admin user without a password, gaining unauthorized control of the application.
mintplex-labs/anything-llm has an improper input validation flaw that lets attackers read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can read sensitive files or the application's '.env' file, and can delete files by setting 'logo_filename' to a target path and invoking the 'remove-logo' API endpoint. The cause is missing sanitization of user-supplied input.
CVE-2024-1646 affects parisneo/lollms-webui, where an authentication bypass arises from insufficient protection of sensitive endpoints. The application only restricts access when the host parameter is '0.0.0.0', so a specific bound interface leaves endpoints such as '/restart_program', '/update_software', '/check_update', '/start_recording' and '/stop_recording' open to unauthorized callers. Exploitation can cause denial of service and unauthorized disabling or overriding of recordings, with other impacts possible if certain features are enabled in the configuration.
CVE-2024-1601 is an SQL injection flaw in the `delete_discussion()` function of parisneo/lollms-webui. A crafted HTTP POST to the `/delete_discussion` endpoint, with a specially crafted payload in the 'id' parameter, lets an attacker manipulate SQL queries to delete all records from the 'discussion' and 'message' tables. The cause is improper neutralization of special elements used in an SQL command.
parisneo/lollms-webui is vulnerable to a denial of service caused by uncontrolled resource consumption. Unauthenticated attackers can send repeated HTTP POST requests to the /open_code_in_vs_code endpoint and similar endpoints, each opening Visual Studio Code or the default folder opener such as File Explorer or xdg-open, which can make the host machine unusable by exhausting system resources. The flaw is present in the latest version of the software.
mintplex-labs/anything-llm is vulnerable to a relative path traversal attack. Attackers with a default role account can delete files and folders anywhere in the filesystem, including the database file 'anythingllm.db'. The flaw stems from insufficient input validation and normalization in file and folder deletion requests, and exploitation compromises data integrity and availability.
A mass assignment vulnerability in the `/api/invite/:code` endpoint of mintplex-labs/anything-llm lets an attacker create high-privileged accounts. By intercepting and modifying the HTTP request during account creation via an invitation link, an attacker can add a `role` property set to `admin` and gain administrative access. The flaw exists because the endpoint lacks property allowlisting and blocklisting.
CVE-2024-3568 affects the huggingface/transformers library through unsafe deserialization in the load_repo_checkpoint() function of the TFPreTrainedModel() class. The function calls pickle.load() on data from potentially untrusted sources, so a crafted serialized payload can execute arbitrary code when a victim loads a seemingly harmless checkpoint during normal training.