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.
4,435 items
CVE-2024-39722 affects Ollama before 0.1.46. A path traversal flaw in the api/push route lets a remote party see which files exist on the server where Ollama is deployed. The weakness is classified as CWE-22, Improper Limitation of a Pathname to a Restricted Directory.
CVE-2024-39721 affects Ollama before 0.1.34. In the CreateModelHandler function, os.Open reads a file until completion, and the user-controlled req.Path parameter can be set to /dev/random, a blocking device. This causes the goroutine to run indefinitely, even after the client aborts the HTTP request. The weakness is classified as CWE-404, Improper Resource Shutdown or Release.
CVE-2024-39720 affects Ollama before 0.1.46. An attacker can upload a malformed GGUF file of just 4 bytes, starting with the GGUF custom magic header, using two HTTP requests. By pointing a custom Modelfile's FROM statement at that blob, the attacker crashes the application through the CreateModel route with a segmentation fault (SIGSEGV). The weakness is classified as CWE-125, Out-of-bounds Read.
Fix: The source links a fix commit in the ollama/ollama repository comparing v0.1.45 to v0.1.46, but it does not state the fix in words. Its stated mitigation is therefore: N/A -- no mitigation discussed in source.
CVE-2024-39719 affects Ollama through 0.3.14. Calling the CreateModel route through api/create with a nonexistent path parameter returns a "File does not exist" error message to the caller, letting an attacker determine whether files exist on the server. The weakness is classified as CWE-209, Generation of Error Message Containing Sensitive Information.
CVE-2024-42835 describes a remote code execution (RCE) vulnerability in langflow v1.0.12, reached through the PythonCodeTool component. The NVD has not yet provided an assessment, and the NVD-CWE-noinfo weakness classification indicates insufficient information. The source links to GitHub issue 2908 for further detail.
The AI Power: Complete AI Pack plugin for WordPress is vulnerable to arbitrary file uploads in the 'handle_image_upload' function, caused by missing file type validation. The flaw affects all versions up to and including 1.8.89, and unauthenticated attackers can exploit it to upload arbitrary files to the affected site's server, which may make remote code execution possible.
CVE-2024-48063 affects PyTorch versions up to and including 2.4.1. The RemoteModule in the distributed RPC framework contains a deserialization flaw, classified as CWE-502, that can lead to remote code execution. Several parties dispute the report, stating that this behavior is intended in PyTorch distributed computing.
CVE-2024-8309 affects the GraphCypherQAChain class of langchain-ai/langchain version 0.2.5. Attackers can use prompt injection to trigger SQL injection, allowing them to create, update, or delete nodes and relationships without authorization, extract sensitive data, and disrupt service. The flaw can also reach data across tenants in multi-tenant environments and compromise database integrity.
CVE-2024-7774 is a path traversal flaw in the getFullPath method of langchain-ai/langchainjs version 0.2.5. The setFileContent, getParsedFile, and mdelete methods do not sanitize user input, letting attackers write files anywhere on the filesystem, overwrite existing text files, read .txt files, and delete files.
Fix: The source links a patch: commit a0fad77d6b569e5872bd4a9d33be0c0785e538a9 in the langchain-ai/langchainjs repository on GitHub. It does not state a fixed version or a configuration workaround.
CVE-2024-7042 affects the GraphCypherQAChain class in langchain-ai/langchainjs, in version 0.2.5 and all versions containing this class. Prompt injection in the class leads to SQL injection, allowing an attacker to create, update, or delete nodes and relationships without authorization, extract sensitive data, and cause denial of service by deleting all data. The flaw also enables access across tenants in multi-tenant environments and damages database integrity.
An arbitrary file read vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240628 because prompt template file loading is insufficiently validated. An attacker can read any file matching specific criteria by supplying an absolute path, provided the file does not have a .json extension and every line except the first contains commas. Format-compliant code and log files can therefore be read, potentially exposing sensitive data such as account credentials.
A vulnerability in gaizhenbiao/chuanhuchatgpt version 20240628 allows a Denial of Service attack during file upload. When an attacker appends a large number of characters to the end of a multipart boundary, the system continuously processes each character, making ChuanhuChatGPT inaccessible for a prolonged period.
CVE-2024-7783 affects mintplex-labs/anything-llm in its latest version. In single user mode, a password is stored in plaintext inside a JWT used as a bearer token, so anyone who obtains the token can decode it and read the password.
mudler/LocalAI version 2.17.1 allows arbitrary file write because it mishandles automatic archive extraction. When model configurations list archive files such as .tar, the server extracts them after download, and an attacker can exploit this with a 'tarslip' attack to write files outside the models directory. The flaw can lead to remote code execution by overwriting backend assets the server uses.
A CORS misconfiguration in parisneo/lollms-webui prior to version 10 lets attackers steal sensitive information, including logs, browser sessions, and settings containing private API keys from other services. The same flaw can also let attackers act on a user's behalf, such as deleting a project or sending a message, affecting confidentiality and integrity.
CVE-2024-6581 affects the discussion image upload function of the Lollms application, version v9.9. The sanitize_svg function removes only script elements and 'on*' event attributes, leaving other XSS vectors in SVG files unfiltered, so uploaded SVG files can enable cross-site scripting and, in turn, a risk of remote code execution. Exploitation requires an authorized user to open a malicious URL containing the crafted SVG file.
A path traversal flaw exists in the latest version of gaizhenbiao/chuanhuchatgpt, arising from unsanitized input in user upload, directory creation and template loading. The load_chat_history function in modules/models/base_model.py allows arbitrary file uploads, potentially leading to remote code execution (RCE), while get_history_names in utils.py permits arbitrary directory creation and load_template in utils.py can leak the first column of CSV files.
CVE-2024-5823 is a file overwrite vulnerability in gaizhenbiao/chuanhuchatgpt versions up to and including 20240410. An attacker can gain unauthorized access to overwrite critical configuration files, which can change system behavior or security settings. Tampering with these files can also cause a denial of service (DoS) condition.
CVE-2024-48142 describes a prompt injection vulnerability in the chatbox of Butterfly Effect Limited's Monica ChatGPT AI Assistant v2.4.0. A crafted message allows attackers to access and exfiltrate all previous and subsequent chat data between the user and the AI assistant. The NVD had not yet provided an assessment, and the weakness is mapped to CWE-77.
CVE-2024-48140 describes a prompt injection vulnerability in the chatbox of Butterfly Effect Limited's Monica Your AI Copilot powered by ChatGPT4, version 6.3.0. A crafted message lets an attacker access and exfiltrate all previous and subsequent chat data between the user and the AI assistant. The source lists CWE-77 (Command Injection) as the weakness, and NVD has not yet provided an assessment.
Fix: Fixed in version 1.0.3.
NVD/CVE Database