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
A path traversal flaw in the /v1/runs API endpoint of lightning-ai/pytorch-lightning v2.2.4 is reached when the tar.gz files it extracts are malicious. When LightningApp runs with the plugin_server, an attacker can deploy a tar.gz plugin with embedded files that carry path traversal sequences. This lets arbitrary files be written to any directory on the victim's local file system, potentially leading to remote code execution.
BerriAI/litellm version v1.35.8 contains a flaw that allows remote code execution. The `add_deployment` function decodes and decrypts base64 environment variables and assigns them to `os.environ`, and an attacker can send a malicious payload to the `/config/update` endpoint, which the server processes and executes when `get_secret` is triggered. Exploitation requires the server to use Google KMS and a database to store a model.
berriai/litellm version 1.34.34 has an improper access control flaw in its team management functionality. Insufficient access control checks in various team management endpoints let attackers create, update, view, delete, block, and unblock any team, and add or remove any team member, without authorization.
CVE-2024-5824 is a path traversal flaw in the `/set_personality_config` endpoint of parisneo/lollms version 9.4.0. An attacker can use it to overwrite the `configs/config.yaml` file, and changing properties such as `force_accept_remote_access` and `turn_on_code_validation` can lead to remote code execution.
A directory traversal flaw in the stitionai/devika repository affects the latest version. Attackers can manipulate the 'project_name' parameter in a GET request to the /api/download-project endpoint, exploiting insufficient input validation in the 'download_project' function, to download arbitrary files from the system, including files outside the intended directory.
CVE-2024-5547 is a directory traversal flaw in the /api/download-project-pdf endpoint of the stitionai/devika repository, affecting the latest version. Insufficient sanitization of the 'project_name' parameter in the download_project_pdf function lets an attacker send a crafted GET request to download arbitrary PDF files from the system, including sensitive files stored outside the intended directory.
A local file read vulnerability in the stitionai/devika repository affects the latest version. Improper handling of the 'snapshot_path' parameter in the '/api/get-browser-snapshot' endpoint lets an attacker send a crafted request that reads arbitrary files from the server.
A command injection flaw exists in mudler/localai version 2.14.0, tracked as CVE-2024-5181. The application mishandles the backend parameter in the configuration file, which is used in the name of the initialized process. An attacker who manipulates the path of the vulnerable binary set in backend can execute arbitrary code, gaining potential full control of the affected system.
A path traversal and remote file inclusion flaw in parisneo/lollms-webui, affecting v9.7 through the latest version, lets an attacker manipulate the discussion_db_name parameter of the /apply_settings function to include arbitrary files. The install_binding, reinstall_binding and unInstall_binding endpoints bypass the sanitize_path_from_endpoint(data.name) filter, so an attacker can upload and execute malicious code, leading to Remote Code Execution (RCE).
CVE-2024-5216 affects mintplex-labs/anything-llm and allows a Denial of Service condition from uncontrolled resource consumption. The application does not limit the size of usernames, so an attacker can create users with excessively large text in the username field, making the user management panel unresponsive and blocking administrators from editing, suspending, or deleting users.
A denial of service flaw in zenml-io/zenml version 0.56.3 stems from improper handling of line feed (`\n`) characters in component names. A low-privileged user who adds a component via the `api/v1/workspaces/default/components` endpoint with a `\n` in the name triggers uncontrolled resource consumption, which blocks adding components in some categories (such as 'Image Builder') and registering stacks through the UI, and can make the ZenML Dashboard unusable. The Web UI is not affected because it escapes `\n` characters.
CVE-2024-4320 affects parisneo/lollms through version 5.9.0. In `ExtensionBuilder().build_extension()`, the `/mount_extension` endpoint allows path traversal because empty `data.category` and `data.folder` values can produce a `package_path` pointing to the root directory. An attacker who can create a `config.yaml` file in a controllable path can get its path added to the `extensions` list, which executes `__init__.py` and leads to remote code execution.
Fix: Fixed in version 9.8.
CVE-2024-5213 affects mintplex-labs/anything-llm up to and including version 1.5.3. The bcrypt password hash of a user is returned in responses from POST /api/request-token after login and from POST /api/admin/users/new after account creation, because the entire User object is sent to the frontend.
CVE-2024-5182 is a path traversal flaw in mudler/localai version 2.14.0. An attacker can manipulate the `model` parameter during model deletion to traverse the directory structure and delete arbitrary files outside the intended directory, including sensitive data. The root cause is insufficient input validation and sanitization of the `model` parameter.
CVE-2024-5208 is an uncontrolled resource consumption flaw in the `upload-link` endpoint of mintplex-labs/anything-llm. Sending an empty body with 'Content-Length: 0', or a body whose content does not match its 'Content-Length' header such as 'asdasdasd' with 'Content-Length: 9', shuts the server down, causing a denial of service. Users with at least the 'Manager' role can reproduce it by sending a crafted request to any workspace, and the source notes that a previous fix was not effective.
CVE-2024-37902 affects DeepJavaLibrary (DJL) versions 0.1.0 through 0.27.0, an engine-agnostic deep learning framework in Java. The flaw lets absolute path archived artifacts insert archived files directly into the system, overwriting system files. The CWE is CWE-22, Improper Limitation of a Pathname to a Restricted Directory.
Fix: This is fixed in DJL 0.28.0 and patched in DJL Large Model Inference containers version 0.27.0. Users are advised to upgrade.
Lobe Chat, an open-source LLM and AI chat framework, exposes its real backend API Key in affected versions. An attacker who successfully authenticates through SSO or Access Code can change the frontend base URL to an attacker-controlled URL and set up a server-side request to receive the key.
Fix: This issue has been addressed in version 0.162.25. Users are advised to upgrade.
NVD/CVE DatabaseCVE-2024-38459 affects langchain_experimental (LangChain Experimental) before 0.0.61. The package provides Python REPL access without an opt-in step, and the issue exists because of an incomplete fix for CVE-2024-27444. The weakness is classified as CWE-276, Incorrect Default Permissions.
Fix: Patch: https://github.com/langchain-ai/langchain/compare/langchain-experimental==0.0.60...langchain-experimental==0.0.61 (fixed in langchain_experimental 0.0.61, per the linked patch comparison).
A set of vulnerabilities was found in k8sGPT, as reported in GitHub advisory GHSA-85rg-8m6h-825p. The source text does not describe the individual flaws, the attack paths, or what an attacker could gain.
Fix: Fixed in release https://github.com/k8sgpt-ai/k8sgpt/releases/tag/v0.3.33
GitHub Advisory DatabaseComputer Vision Annotation Tool (CVAT) versions 2.2.0 up to but not including 2.14.3 are affected. An attacker who tricks a logged-in user into visiting a malicious URL can start a dataset export or project backup into a cloud storage the victim can access, with an attacker-chosen file name. This can overwrite arbitrary files in that storage and, given read access, expose media, annotations and settings from projects the victim may export.
Fix: It is recommended not to expose any clues about passwords to the frontend.
NVD/CVE DatabaseFix: Fixed in 2.14.3. No known workarounds are available.
NVD/CVE Database