8.7 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Vulnerable System Impact Confidentiality (VC): None (N)
- Vulnerable System Impact Integrity (VI): None (N)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Vulnerable System Impact Confidentiality (MVC): None (N)
- Modified Vulnerable System Impact Integrity (MVI): None (N)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
16 packages
- gollama
- nextjs-ollama-llm-ui
- python313Packages.ollama
- python314Packages.ollama
- python313Packages.llm-ollama
- python314Packages.llm-ollama
- haskellPackages.ollama-haskell
- gnomeExtensions.ollama-indicator
- python313Packages.langchain-ollama
- python314Packages.langchain-ollama
- python313Packages.llama-index-llms-ollama
- python314Packages.llama-index-llms-ollama
- python313Packages.llama-index-embeddings-ollama
- python314Packages.llama-index-embeddings-ollama
- pkgsRocm.python3Packages.llama-index-llms-ollama
- pkgsRocm.python3Packages.llama-index-embeddings-ollama
- @LeSuisse accepted
- @LeSuisse published on GitHub
Ollama Remote Denial of Service via Attacker-Controlled Allocation in GGUF Metadata Parser
Ollama (HEAD f0078ae) contains an uncontrolled memory allocation vulnerability in the GGUF metadata parser that allows remote attackers to crash the server by supplying a crafted GGUF file with attacker-controlled length and count fields in string lengths, tensor dimension counts, and metadata array counts that are used as allocation sizes without validation against remaining file size. Attackers can upload a sub-1KB crafted GGUF file via the blob upload and model create or pull API endpoints to trigger unrecoverable Go runtime out-of-memory fatal errors or makeslice panics that bypass recovery middleware and crash the entire server process.
References
-
Product patch
-
https://www.vulncheck.com/advisories/ollama-remote-denial-of-service-via-attack… third-party-advisory
Affected products
- =<f0078ae
Matching in nixpkgs
pkgs.ollama
Get up and running with large language models locally
pkgs.ollama-cpu
Get up and running with large language models locally
pkgs.ollama-cuda
Get up and running with large language models locally, using CUDA for NVIDIA GPU acceleration
pkgs.ollama-rocm
Get up and running with large language models locally, using ROCm for AMD GPU acceleration
pkgs.ollama-vulkan
Get up and running with large language models locally, using Vulkan for generic GPU acceleration
Ignored packages (16)
pkgs.gollama
Go manage your Ollama models
pkgs.nextjs-ollama-llm-ui
Simple chat web interface for Ollama LLMs
pkgs.python313Packages.ollama
Ollama Python library
pkgs.python314Packages.ollama
Ollama Python library
pkgs.python313Packages.llm-ollama
LLM plugin providing access to Ollama models using HTTP API
pkgs.python314Packages.llm-ollama
LLM plugin providing access to Ollama models using HTTP API
pkgs.haskellPackages.ollama-haskell
Haskell client for ollama
pkgs.gnomeExtensions.ollama-indicator
An indicator that let you run models with Ollama.
pkgs.python313Packages.langchain-ollama
Integration package connecting Ollama and LangChain
pkgs.python314Packages.langchain-ollama
Integration package connecting Ollama and LangChain
pkgs.python313Packages.llama-index-llms-ollama
LlamaIndex LLMS Integration for ollama
pkgs.python314Packages.llama-index-llms-ollama
LlamaIndex LLMS Integration for ollama
-
nixos-unstable -
- nixos-unstable-small 0.10.1
Package maintainers
-
@prusnak Pavol Rusnak <pavol@rusnak.io>