Documented Incident · INC-2024-37032 · High severity
Ollama Probllama Digest Path Traversal During Model Registry Pull
CVE-2024-37032 (dubbed Probllama by Wiz researchers) revealed a path traversal flaw in Ollama's `/api/pull` endpoint when parsing model manifest SHA-256 digests. Because Ollama failed to validate digest format before joining it into local blob storage paths, an attacker hitting an exposed Ollama API could trigger arbitrary file existence checks, overwrites, or remote code execution chains via crafted `/etc/ld.so.preload` writes. Thousands of unauthenticated Ollama instances were found reachable on the public internet at disclosure time. Ollama patched digest validation with strict hex regex checks in v0.1.34.
Incident dossier metadata
- Case ID
INC-2024-37032- Classification
- Incident
- Date
- Severity
- High
- Sector
- Cloud & AI Infrastructure
- Attack vector
- Supply Chain
- System type
- Self-Hosted LLM Inference & Model Serving Daemons
- CVE / reference
CVE-2024-37032- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-37032
Defensive takeaway
Validate content-addressable model digests against strict 64-character hex regexes prior to path construction and never expose unauthenticated Ollama ports publicly.
Mapped AI security techniques
- Active Scanning: Scan for Exposed AI Infrastructure AML.T0006.002
- Supply Chain Compromise: Model Repository AML.T0010.003
- Exploit Public-Facing Application AML.T0049
- Misconfigured or Publicly Exposed AI Services AML.T0132
Mapped defensive controls
- Verify AI Artifacts AML.M0014
- Vulnerability Scanning AML.M0016
- Control Access to AI Models and Data in Production AML.M0019
- Input and Output Validation for AI Agent Components AML.M0033
Source citation records
- NVD Record CVE-2024-37032: Ollama Probllama Digest Path Traversal · NIST National Vulnerability Database (NVD) ·