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-1455 affects the langchain-ai/langchain repository and allows a Billion Laughs Attack, a form of XML External Entity (XXE) exploitation. An attacker nests multiple layers of entities in an XML document, causing the XML parser to consume excessive CPU and memory and leading to a denial of service (DoS). The weakness is classified as CWE-776, Improper Restriction of Recursive Entity References in DTDs.
CVE-2024-1727 is a Cross-Site Request Forgery (CSRF) vulnerability in gradio-app/gradio that affects the file upload functionality implemented in gradio/routes.py. A crafted malicious HTML page can trigger unauthorized uploads of multiple large files to a victim's system when Gradio is running locally, which can deplete disk space and potentially cause a denial of service.
Fix: The source links a patch in the gradio-app/gradio commit 84802ee6a4806c25287344dce581f9548a99834a and a huntr.dev bounty page, but does not state a fixed version, configuration change or workaround in the text itself.
CVE-2024-29033 affects OAuthenticator, the JupyterHub plugin package for OAuth providers. Before version 16.3.0, GoogleOAuthenticator.hosted_domain only checked that Google account emails ended with the specified domain, not that the account belonged to a verified Google organization controlling that domain. Anyone who had once been able to read an email at the domain could create a matching account and gain access to the JupyterHub, as Dylan Ayrey described in a blog post dated 15 December 2023.
Fixed in OAuthenticator 16.3.0, which contains a patch for this issue. As a workaround, restrict who can log in another way, such as with `allowed_users` or `allowed_google_groups`.
Jupyter Server Proxy, which runs external processes alongside Jupyter notebook servers and provides authenticated web access, did not check user authentication when proxying websockets before versions 3.2.3 and 4.1.1. Anyone with network access to the Jupyter server endpoint could reach any websocket endpoint exposed through the proxy, which in many cases leads to unauthenticated remote code execution. The websocket endpoints of `jupyter_server` itself and projects that do not rely on websockets are not affected.
codeium-chrome, an open source code completion plugin for the Chrome web browser, has a flaw in its extension's service worker: it does not check the sender of external messages. A website an attacker hosts can therefore steal a user's Codeium API key and impersonate that user to the backend autocomplete server.
CVE-2024-28088 affects LangChain through 0.1.10. An actor who can control the final part of the path parameter in a load_chain call can use ../ directory traversal to bypass the intended restriction on loading configurations only from the hwchase17/langchain-hub GitHub repository. The source says the outcome can be disclosure of an API key for a large language model online service, or remote code execution.
Fix: A patch is available as of release 0.1.29 of langchain-core.
CVE-2024-0765 affects AnythingLLM on multi-user instances. A default user can call the `/export-data` endpoint, then unzip and read the export to exfiltrate system data at that save state. The attacker must first be granted explicit access to the system, but this works from any role, and the export is deleted after download, leaving no evidence of the exfiltration.
The AI Engine: Chatbots, Generators, Assistants, GPT 4 and more! plugin for WordPress, in all versions up to and including 2.2.0, is vulnerable to Stored Cross-Site Scripting (CVE-2024-0378). The flaw arises from the AI chat data when discussion tracking is enabled, due to insufficient input sanitization and output escaping. Unauthenticated attackers can inject arbitrary web scripts into pages that execute whenever a user accesses the injected page.
ZenML Server in the ZenML machine learning package for Python, before 0.46.7, allows remote privilege escalation. The /api/v1/users/{user_name_or_id}/activate REST API endpoint grants access given a valid username and a new password in the request body. Patched versions also include 0.44.4, 0.43.1, and 0.42.2.
Fix: Patched versions include 0.46.7 (versions before 0.46.7 are affected), along with 0.44.4, 0.43.1, and 0.42.2.
AnythingLLM instances hosted on an internal network are exposed to internal link scraping by a user granted manager or admin permission. Such a user can scrape internally resolving IPs of other services on the same network, though they must guess those IPs because /* ranging is not possible, and brute forcing is one approach.
CVE-2024-27444 affects langchain_experimental (aka LangChain Experimental) in LangChain before 0.1.8. An attacker can bypass the CVE-2023-44467 fix and execute arbitrary code by using attributes such as __import__, __subclasses__, __builtins__ or __globals__ in Python code, which pal_chain/base.py does not prohibit. The NVD assessment has not yet been provided.
Fix: Commit de9a6cdf163ed00adaf2e559203ed0a9ca2f1de7 in the langchain-ai/langchain repository is referenced as the patch. The source does not state a fixed version beyond the affected range (before 0.1.8).
The langchain RecursiveUrlLoader in libs/community, in langchain_community/document_loaders/recursive_url_loader.py, can be made to fetch URLs outside the start site. An attacker who controls the content at the crawled URL can add links to other hosts, such as https://example.completely.different/my_file.html, and the crawler downloads them even when prevent_outside=True is set.
Fix: Resolved in https://github.com/langchain-ai/langchain/pull/15559
GitHub Advisory DatabaseCVE-2024-0798 affects mintplex-labs/anything-llm and allows users with the 'default' role to escalate privileges. A crafted DELETE request to the /api/system/remove-document endpoint lets them delete documents uploaded by 'admin', despite the intended restriction. The flaw stems from improper access control checks, which can lead to loss of data integrity.
AnythingLLM's web scraper lets users with manager, admin, or single-user authorization submit any URL, including the EC2 instance metadata endpoint at 169.254.169.254. When the request originates from an EC2 instance, the endpoint returns that instance's credentials, which an attacker could use to manage it. The attacker needs prior knowledge of the target's hosting infrastructure.
CVE-2024-27133 is an insufficient sanitization flaw in MLflow that leads to cross-site scripting when a recipe runs against an untrusted dataset. The issue is reached through dataset table fields, which lack sanitization, and it results in a client-side RCE when the recipe runs in Jupyter Notebook. The weakness is classified as CWE-79 and was reported by JFrog.
Fix: The source links a patch at https://github.com/mlflow/mlflow/pull/10893, but does not state a fixed version or a configuration change.
CVE-2024-27132 is an insufficient sanitization flaw in MLflow that leads to XSS when an untrusted recipe runs. The source says the issue leads to a client-side RCE when running an untrusted recipe in Jupyter Notebook, and that it stems from a lack of sanitization over template variables.
Fix: The source references a patch in https://github.com/mlflow/mlflow/pull/10873, but does not state a fixed version or workaround.
NVD/CVE DatabaseCVE-2024-27319 affects the onnx package in versions before and including 1.15.0. The ONNX_ASSERT and ONNX_ASSERTM functions contain an off-by-one string copy, which causes an out-of-bounds read (CWE-125). The vulnerability was reported by HiddenLayer and published by NVD on 02/23/2024.
Fix: A patch is referenced in the GitHub commit 08a399ba75a805b7813ab8936b91d0e274b08287 in the onnx/onnx repository.
NVD/CVE DatabaseCVE-2024-27318 affects the onnx package in versions before and including 1.15.0. The external_data field of a tensor proto can point to a file outside the model's current directory or a user-provided directory, which is Directory Traversal (CWE-22). The flaw is a bypass of the patch added for CVE-2022-25882.
Fix: The source text does not state a fix, patched version, or workaround. The references list a commit (github.com/onnx/onnx/commit/66b7fb630903fdcf3e83b6b6d56d82e904264a20) tagged as a Patch, but the source does not…
Label Studio versions prior to 1.11.0 do not sanitize data imported through the file upload feature before rendering it in a Choices or Labels tag, causing an XSS vulnerability. The issue was reproduced on Label Studio 1.10.1 and requires permission to use the data import function. Malicious scripts can be injected, and the source notes this can be combined with CSRF or social engineering for greater damage.
Fix: Fixed in 1.11.0
discourse-ai, the AI plugin for the Discourse discussion platform, is vulnerable to admin-initiated SSRF through its interactions with different AI services before commit 94ba0dadc2cf38e8f81c3936974c167219878edd. An administrator can trigger server-side requests to arbitrary targets via these AI service integrations.
Fix: Versions of the plugin that include commit 94ba0dadc2cf38e8f81c3936974c167219878edd contain a patch. As a workaround, one may disable the discourse-ai plugin.
Fix: Fixed in 3.2.3 and 4.1.1.
Fix: This issue has not been addressed. Users are advised to monitor the usage of their API key.
NVD/CVE Database