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.
1,675 items
CVE-2024-47168 affects Gradio, an open-source Python package for quick prototyping. Setting enable_monitoring=False does not fully disable monitoring, so an attacker or unauthorized user can still reach the monitoring dashboard by requesting the /monitoring endpoint directly, exposing application analytics.
Fix: Upgrade to gradio>=4.44. The source states there are no known workarounds.
NVD/CVE DatabaseGradio, an open-source Python package for rapid prototyping, contains a Server-Side Request Forgery flaw in the `/queue/join` endpoint. The `async_save_url_to_cache` function lets attackers make the server send HTTP requests to user-controlled URLs, reaching internal servers or services on a local network and possibly exfiltrating data. Fetched content is stored locally, which can also let attackers upload malicious files; deployments using components such as the Video component are affected.
Gradio, an open-source Python package for quick prototyping, contains a one-level read path traversal in its `/custom_component` endpoint. An attacker who manipulates the file path in a request can read and leak source code from custom Gradio components hosted on publicly accessible servers, which may include proprietary or sensitive code.
Fix: Upgrade to `gradio>=4.44`. As a workaround, sanitize file paths and ensure components are not stored in publicly accessible directories.
Gradio, an open-source Python package for prototyping, accepts the null origin in CORS validation when deployed locally, because the localhost_aliases variable includes "null". Attackers can use sandboxed iframes or other null-origin sources to make unauthorized requests, potentially stealing authentication tokens or uploaded files, especially where basic authentication is used.
Fix: Upgrade to gradio>=5.0. As a workaround, manually remove "null" from the localhost_aliases list in the local Gradio deployment.
Gradio, an open-source Python package for quick prototyping, has a bypass of directory traversal checks in its `is_in_or_equal` function. The function, meant to confirm a file sits inside a given directory, can be defeated with payloads that use `..` parent directory sequences, letting an attacker reach restricted files. The flaw mainly affects users who rely on Gradio's blocklist or directory access validation, especially around file uploads, and exploitation is described as difficult.
CVE-2024-47084 affects Gradio, an open-source Python package for quick prototyping. The Gradio server fails to validate the request origin when a cookie is present, so a website an attacker controls can send unauthorized requests to a local Gradio server. An attacker could upload files, steal authentication tokens and access user data if a victim visits the malicious site while logged into Gradio. The issue affects users who deployed Gradio locally with basic authentication.
Fix: Upgrade to gradio>4.44. As a workaround, manually enforce stricter CORS origin validation by modifying the CustomCORSMiddleware class in the local Gradio server code, bypassing the condition that skips CORS validation…
CVE-2024-47833 affects Taipy, an open-source Python library for end-to-end application development. In affected versions, session cookies are served without the Secure and HTTPOnly flags. GitHub, Inc. is the CNA, rating the issue CVSS-B 6.3 MEDIUM.
Fix: This issue has been addressed in release version 4.0.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
NVD/CVE DatabaseCVE-2024-8768 is a flaw in the vLLM library. A completions API request with an empty prompt crashes the vLLM API server, causing a denial of service. The weakness is classified as CWE-617, Reachable Assertion, and NVD had not yet provided an assessment when published on 09/17/2024.
CVE-2024-5998 affects the FAISS.deserialize_from_bytes function in langchain-ai/langchain, which allows pickle deserialization of untrusted data. The issue affects the latest version of the product, and it can lead to the execution of arbitrary commands via the os.system function. The weakness is classified as CWE-502, Deserialization of Untrusted Data.
Fix: The source links a patch in the langchain-ai/langchain commit 604dfe2d99246b0c09f047c604f0c63eafba31e7, but it does not state a fixed version or a configuration change.
CVE-2024-6587 is a Server-Side Request Forgery (SSRF) flaw in berriai/litellm version 1.38.10. Users can set the `api_base` parameter on requests to `POST /chat/completions`, and the application then sends the request, including the OpenAI API key, to the domain that `api_base` specifies. A malicious user can point `api_base` at their own domain and intercept the OpenAI API key, which enables unauthorized access and potential misuse of the API key.
CVE-2024-45848 is an arbitrary code execution flaw in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. A specially crafted 'INSERT' query containing Python code, run against a database created with the ChromaDB engine, is passed to an eval function and executed on the server. The weakness is classified as CWE-94 (Improper Control of Generation of Code) and CWE-95 (Eval Injection), and HiddenLayer published the advisory.
CVE-2024-45846 is an arbitrary code execution flaw in MindsDB versions 23.10.3.0 up to 24.7.4.1 when the Weaviate integration is installed. A specially crafted 'SELECT WHERE' clause containing Python code, run against a database created with the Weaviate engine, is passed to an eval function and executed on the server.
CVE-2024-45436 affects extractFromZipFile in model.go in Ollama before 0.1.47. The flaw lets the function extract members of a ZIP archive outside the parent directory, which is classified as CWE-22 (Path Traversal). NVD has not yet provided an assessment.
Fix: Fix referenced in the source: upgrade to 0.1.47 or later. The source links the compare view v0.1.46...v0.1.47 and pull request #5314 as patch references.
NVD/CVE DatabaseAn issue in llama_index before 0.10.38 affects download/integration.py. The file contains an exec call for `import {cls_name}`, so the class name is interpolated into code that is executed.
CVE-2024-43396 affects Khoj, an application that creates personal AI agents. The Automation feature does not sanitize the q parameter for the /api/automation endpoint when it is rendered on the page, so a user can inject arbitrary HTML and JavaScript, resulting in Stored XSS (CWE-79).
Fix: This vulnerability is fixed in 1.15.0.
NVD/CVE DatabaseSnowflake's Streamlit open source framework had a path traversal flaw in its static file sharing feature, affecting hosted Streamlit apps on Windows when that feature is enabled. An attacker could exploit it to leak the password hash of the Windows user running Streamlit. The flaw only affects Windows.
Fix: Patched on Jul 25, 2024, in Streamlit open source version 1.37.0.
NVD/CVE DatabaseCVE-2024-41950 affects Haystack clients that let users create and run Pipelines from scratch. Certain Haystack Components use Jinja2 templates, and if an attacker can create and render such a template on the client machine, they can run arbitrary code. The weakness is classified as CWE-1336, Improper Neutralization of Special Elements Used in a Template Engine.
Fix: Fixed with Haystack 2.3.1.
NVD/CVE DatabaseCVE-2023-33976 is a flaw in TensorFlow where `array_ops.upper_bound` causes a segfault when it is not given a rank 2 tensor. The source classifies it under CWE-190, Integer Overflow or Wraparound, and NVD has not yet provided an assessment.
Fix: The fix will be included in TensorFlow 2.13 and will also be cherrypicked on TensorFlow 2.12.
NVD/CVE DatabaseCVE-2024-35199 affects TorchServe versions where the two gRPC ports 7070 and 7071 are not bound to localhost by default. When TorchServe starts, both interfaces listen on all interfaces. PyTorch inference Deep Learning Containers used through Amazon SageMaker and EKS are not affected.
Fix: This issue has been fixed in PR #3083, and TorchServe release 0.11.0 includes the fix. Users are advised to upgrade. There are no known workarounds.
NVD/CVE DatabaseTorchServe's allowed_urls check can be bypassed when a URL contains characters such as "..", and the model is still downloaded into the model store. A downloaded file can then be referenced without a URL on later requests, which defeats the allowed_urls security check. Customers using PyTorch inference Deep Learning Containers through Amazon SageMaker and EKS are not affected.
Fix: This issue in TorchServe has been fixed by validating the URL without characters such as ".." before downloading, see PR #3082. TorchServe release 0.11.0 includes the fix. Users are advised to upgrade.
Fix: Upgrade to `gradio>=5`. As a workaround, disable or heavily restrict URL-based inputs to trusted domains only, implement stricter URL validation such as allowlist-based validation, and ensure local or internal network…
Fix: Upgrade to `gradio>=5.0`. As a workaround, manually sanitize and normalize file paths before passing them to `is_in_or_equal`, ensuring all paths are properly resolved and absolute.